projects
/
git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'jc/maint-apply-match-beginning'
[git]
/
builtin-add.c
diff --git
a/builtin-add.c
b/builtin-add.c
index
5c29cc2
..
4a91e3e
100644
(file)
--- a/
builtin-add.c
+++ b/
builtin-add.c
@@
-259,7
+259,7
@@
int cmd_add(int argc, const char **argv, const char *prefix)
finish:
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");
}