Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
repository.c: replace hold_locked_index() with repo_hold_locked_index()
[gitweb.git]
/
merge.c
diff --git
a/merge.c
b/merge.c
index 91008f760223e4f6c65a5d344bb6403dd5885d28..dbbc9d9f802fef2781b9b60b798700f49229f84f 100644
(file)
--- a/
merge.c
+++ b/
merge.c
@@
-58,7
+58,7
@@
int checkout_fast_forward(struct repository *r,
refresh_index(r->index, REFRESH_QUIET, NULL, NULL, NULL);
- if (
hold_locked_index(
&lock_file, LOCK_REPORT_ON_ERROR) < 0)
+ if (
repo_hold_locked_index(r,
&lock_file, LOCK_REPORT_ON_ERROR) < 0)
return -1;
memset(&trees, 0, sizeof(trees));