diff options
author | Michael J Gruber <git@drmicha.warpmail.net> | 2011-02-27 16:50:10 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-27 15:34:54 -0800 |
commit | 6e7293e3ed0e29fd55bb2b4b1224613e4f38fed0 (patch) | |
tree | a43476296489ac6daa8f58390b4485eb205528d3 /builtin/add.c | |
parent | e3d3f7d204c46c034ce71d8116ac21ef613fb263 (diff) | |
download | git-6e7293e3ed0e29fd55bb2b4b1224613e4f38fed0.tar.gz |
git-add: make -A description clearer vs. -u
Currently, it sounds as if "notice removal of files" distinguishes "-A"
from "-u", and there is no mention of the worktree.
But both notice the removal, and only "-A" adds changes from untracked
files. Say so.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/add.c')
-rw-r--r-- | builtin/add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/add.c b/builtin/add.c index 42c906ea06..5c9f4afef2 100644 --- a/builtin/add.c +++ b/builtin/add.c @@ -322,7 +322,7 @@ static struct option builtin_add_options[] = { OPT__FORCE(&ignored_too, "allow adding otherwise ignored files"), OPT_BOOLEAN('u', "update", &take_worktree_changes, "update tracked files"), OPT_BOOLEAN('N', "intent-to-add", &intent_to_add, "record only the fact that the path will be added later"), - OPT_BOOLEAN('A', "all", &addremove, "add all, noticing removal of tracked files"), + OPT_BOOLEAN('A', "all", &addremove, "add changes from all tracked and untracked files"), OPT_BOOLEAN( 0 , "refresh", &refresh_only, "don't add, only refresh the index"), OPT_BOOLEAN( 0 , "ignore-errors", &ignore_add_errors, "just skip files which cannot be added because of errors"), OPT_BOOLEAN( 0 , "ignore-missing", &ignore_missing, "check if - even missing - files are ignored in dry run"), |