Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: Message from git reset: confusing?

From: Avery Pennarun <hidden>
Date: 2016-06-15 22:47:09

On Wed, Aug 5, 2009 at 5:21 PM, Junio C Hamano[off-list ref] wrote:
Matthieu Moy [off-list ref] writes:
quoted
I was wondering what was the motivation for the output of "git merge":
You meant "git reset".
quoted
$ git reset file
file: locally modified
$
First a tangent.

Removing this output _when no <path> is given_ would greatly reduce the
usability of the command.
Yes.  I think the problem is that the current output looks more like
an error message than a status report.

I would find it very pleasant if the output looked more like the
output of "git checkout" (no parameters) in the no-files-specified
case.

Even if people don't know what "M" means on day 1 (although hopefully
they don't need "git reset" on day 1), at least it doesn't look like
an error message.

Have fun,

Avery
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help