diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-01-14 22:58:46 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-14 22:58:46 -0800 |
commit | b32acd21d81ac792cf28d487b960a2f6bb0ef0e2 (patch) | |
tree | 0d12b7b48f2a42dda239f385c96f8fe880d2a065 /builtin-mv.c | |
parent | Update 1.6.2 draft release notes (diff) | |
parent | Update draft release notes to 1.6.1.1 (diff) | |
download | tgif-b32acd21d81ac792cf28d487b960a2f6bb0ef0e2.tar.xz |
Merge branch 'maint'
* maint:
Update draft release notes to 1.6.1.1
Make t3411 executable
fix handling of multiple untracked files for git mv -k
add test cases for "git mv -k"
Diffstat (limited to 'builtin-mv.c')
-rw-r--r-- | builtin-mv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-mv.c b/builtin-mv.c index 4f65b5ae9b..bce9959293 100644 --- a/builtin-mv.c +++ b/builtin-mv.c @@ -192,6 +192,7 @@ int cmd_mv(int argc, const char **argv, const char *prefix) memmove(destination + i, destination + i + 1, (argc - i) * sizeof(char *)); + i--; } } else die ("%s, source=%s, destination=%s", |