diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-05-21 12:04:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-21 12:04:41 -0700 |
commit | 38ed1d89f759699de56004b08668e1764613f47b (patch) | |
tree | 40001e7853adba4204423a49ab9fb131df322b1c /builtin-mv.c | |
parent | 377d9c409ffe0f0d994b929aeb94716139207b9d (diff) | |
download | git-38ed1d89f759699de56004b08668e1764613f47b.tar.gz |
"git-add -n -u" should not add but just report
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-mv.c')
-rw-r--r-- | builtin-mv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-mv.c b/builtin-mv.c index 94f6dd2aad..df9ea97744 100644 --- a/builtin-mv.c +++ b/builtin-mv.c @@ -256,7 +256,7 @@ int cmd_mv(int argc, const char **argv, const char *prefix) for (i = 0; i < added.nr; i++) { const char *path = added.items[i].path; - add_file_to_cache(path, verbose); + add_file_to_cache(path, verbose ? ADD_CACHE_VERBOSE : 0); } for (i = 0; i < deleted.nr; i++) |