Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix parsing of @{-1}@{1}
[gitweb.git]
/
builtin-mv.c
diff --git
a/builtin-mv.c
b/builtin-mv.c
index 4f65b5ae9baf66953e79886fd93fe31786b24d36..bce9959293e30925c4b16c40ac33a3f2e0474e30 100644
(file)
--- 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",