Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
compat: Add simplified merge sort implementation from glibc
[gitweb.git]
/
builtin-mv.c
diff --git
a/builtin-mv.c
b/builtin-mv.c
index a3f9ad174492827e42f2854287fab19915d8ef76..990e21355d189096bdc0c808fb536b7bfb85b0a1 100644
(file)
--- a/
builtin-mv.c
+++ b/
builtin-mv.c
@@
-264,7
+264,6
@@
int cmd_mv(int argc, const char **argv, const char *prefix)
if (active_cache_changed) {
if (write_cache(newfd, active_cache, active_nr) ||
- close(newfd) ||
commit_locked_index(&lock_file))
die("Unable to write new index file");
}