Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-p4: Unset P4DIFF environment variable when using 'p4 -du diff'
[gitweb.git]
/
builtin-rm.c
diff --git
a/builtin-rm.c
b/builtin-rm.c
index a3d25e6a571584c486d252c5a8e2b182f3da86e3..c0a8bb6cf5675d671a2cca50bf72d5c60f155313 100644
(file)
--- a/
builtin-rm.c
+++ b/
builtin-rm.c
@@
-250,7
+250,7
@@
int cmd_rm(int argc, const char **argv, const char *prefix)
if (active_cache_changed) {
if (write_cache(newfd, active_cache, active_nr) ||
- c
lose(newfd) || c
ommit_locked_index(&lock_file))
+ commit_locked_index(&lock_file))
die("Unable to write new index file");
}