Re: [PATCH 01/10] Better "Changed but not updated" message in git-status

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Thursday, October 28, 2010 - 2:46 pm

Jonathan Nieder <jrnieder@gmail.com> writes:


Hmm, perhaps we'd want to restate the first one as well to read

    Changes staged for commit:
      (use "git reset HEAD <path>..." to unstage)

for consistency as well?

Listing by filename gives a false impression that we are talking about the
whole file contents, and looks a bit confusing until it is explained to
you why when the same file appears in both of the first two sections.
I've been wondering ever since this thread started if we can phrase it
better to make it even less confusing.  E.g.

    Files with changes to be committed:
        new file: foo.c
    Files with changes that won't be committed:
        modified: foo.c

might help reduce the confusion.

"Untracked files" section is about the whole file contents, and it can
stay as is.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 01/10] Better "Changed but not updated" message ..., Junio C Hamano, (Thu Oct 28, 2:46 pm)
[PATCH 00/11 v4] More consistant terminology, Matthieu Moy, (Fri Oct 29, 9:10 pm)
Re: [PATCH 00/11 v4] More consistant terminology, Jonathan Nieder, (Fri Oct 29, 11:58 pm)