diff options
author | Junio C Hamano <junkio@cox.net> | 2007-01-11 15:34:41 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-11 15:34:41 -0800 |
commit | 4d229653ab5eda48f7b7c83cb2a876b48a41ffd4 (patch) | |
tree | 91da4b9a9c0554065d9cb9d2171e0f05dcab5d06 /revision.h | |
parent | 646ac22bdf7f7011bb4c77647053416e892ce64d (diff) | |
download | git-4d229653ab5eda48f7b7c83cb2a876b48a41ffd4.tar.gz git-4d229653ab5eda48f7b7c83cb2a876b48a41ffd4.tar.xz |
git-status: wording update to deal with deleted files.
If you do:
$ /bin/rm foo
$ git status
we used to say "git add ... to add content to commit". But
suggsting "git add" to record the deletion of a file is simply
insane.
So this rewords various things:
- The section header is the old "Changed but not updated",
instead of "Changed but not added";
- Suggestion is "git add ... to update what will be committed",
instead of "... to add content to commit";
- If there are removed paths, the above suggestion becomes "git
add/rm ... to update what will be committed";
- For untracked files, the suggestion is "git add ... to
include in what will be committed".
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'revision.h')
0 files changed, 0 insertions, 0 deletions