Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refactor userdiff textconv code
[gitweb.git]
/
rerere.c
diff --git
a/rerere.c
b/rerere.c
index 5bb5316cdae16154fd4aaffe996710c0bcfc0b94..8e5532b1ff96a88133d837b9a29fa78117c36abd 100644
(file)
--- a/
rerere.c
+++ b/
rerere.c
@@
-352,7
+352,8
@@
int setup_rerere(struct string_list *merge_rr)
return -1;
merge_rr_path = xstrdup(git_path("MERGE_RR"));
- fd = hold_lock_file_for_update(&write_lock, merge_rr_path, 1);
+ fd = hold_lock_file_for_update(&write_lock, merge_rr_path,
+ LOCK_DIE_ON_ERROR);
read_rr(merge_rr);
return fd;
}