Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fetch-pack.c: use oidset to check existence of loose object
[gitweb.git]
/
builtin
/
mv.c
diff --git
a/builtin/mv.c
b/builtin/mv.c
index cf3684d907a2fe3408581502c682d6290c790827..8ce6a2ddd4c5008c9d32d45dc21e11d97ff8b79d 100644
(file)
--- a/
builtin/mv.c
+++ b/
builtin/mv.c
@@
-286,8
+286,7
@@
int cmd_mv(int argc, const char **argv, const char *prefix)
pos = cache_name_pos(src, strlen(src));
assert(pos >= 0);
- if (!show_only)
- rename_cache_entry_at(pos, dst);
+ rename_cache_entry_at(pos, dst);
}
if (gitmodules_modified)