aboutsummaryrefslogtreecommitdiff
path: root/refs
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2016-09-04 18:08:35 +0200
committerJunio C Hamano <gitster@pobox.com>2016-09-09 15:28:13 -0700
commitfcc42ea0c92e357da40f7cbc598152e2f8dfe083 (patch)
tree5b6928f23e61d074dee2787145e6c554498f4c25 /refs
parent7eb27cdfe67f07bcfcd7781bed8110e8ae70d001 (diff)
downloadgit-fcc42ea0c92e357da40f7cbc598152e2f8dfe083.tar.gz
git-fcc42ea0c92e357da40f7cbc598152e2f8dfe083.tar.xz
split_symref_update(): add a files_ref_store argument
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs')
-rw-r--r--refs/files-backend.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/refs/files-backend.c b/refs/files-backend.c
index 396647b39..9607fbd17 100644
--- a/refs/files-backend.c
+++ b/refs/files-backend.c
@@ -3401,7 +3401,8 @@ static int split_head_update(struct ref_update *update,
* Note that the new update will itself be subject to splitting when
* the iteration gets to it.
*/
-static int split_symref_update(struct ref_update *update,
+static int split_symref_update(struct files_ref_store *refs,
+ struct ref_update *update,
const char *referent,
struct ref_transaction *transaction,
struct string_list *affected_refnames,
@@ -3562,7 +3563,8 @@ static int lock_ref_for_update(struct files_ref_store *refs,
* of processing the split-off update, so we
* don't have to do it here.
*/
- ret = split_symref_update(update, referent.buf, transaction,
+ ret = split_symref_update(refs, update,
+ referent.buf, transaction,
affected_refnames, err);
if (ret)
return ret;