Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Log ref changes made by git-merge and git-pull.
[gitweb.git]
/
builtin-update-index.c
diff --git
a/builtin-update-index.c
b/builtin-update-index.c
index ef50243452c2f27572c941a5db9365c785f1fbd5..1a4200d151dd8e876c6f84531422cae50b049aa3 100644
(file)
--- a/
builtin-update-index.c
+++ b/
builtin-update-index.c
@@
-648,7
+648,7
@@
int cmd_update_index(int argc, const char **argv, char **envp)
finish:
if (active_cache_changed) {
if (write_cache(newfd, active_cache, active_nr) ||
- commit_lock_file(lock_file))
+ c
lose(newfd) || c
ommit_lock_file(lock_file))
die("Unable to write new index file");
}