Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rs/apply-inaccurate-eof-with-incomplete-line'
[gitweb.git]
/
sequencer.c
diff --git
a/sequencer.c
b/sequencer.c
index 19dd575ed9b3b280a3fdabc9121a2e193d6984db..fa94ed652d2ce87fddf824aa516456b5f42735e7 100644
(file)
--- a/
sequencer.c
+++ b/
sequencer.c
@@
-438,7
+438,8
@@
static int do_recursive_merge(struct commit *base, struct commit *next,
char **xopt;
static struct lock_file index_lock;
- hold_locked_index(&index_lock, LOCK_DIE_ON_ERROR);
+ if (hold_locked_index(&index_lock, LOCK_REPORT_ON_ERROR) < 0)
+ return -1;
read_cache();