Skip to content

Commit fcc42ea

Browse files
mhaggergitster
authored andcommitted
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>
1 parent 7eb27cd commit fcc42ea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

refs/files-backend.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3401,7 +3401,8 @@ static int split_head_update(struct ref_update *update,
34013401
* Note that the new update will itself be subject to splitting when
34023402
* the iteration gets to it.
34033403
*/
3404-
static int split_symref_update(struct ref_update *update,
3404+
static int split_symref_update(struct files_ref_store *refs,
3405+
struct ref_update *update,
34053406
const char *referent,
34063407
struct ref_transaction *transaction,
34073408
struct string_list *affected_refnames,
@@ -3562,7 +3563,8 @@ static int lock_ref_for_update(struct files_ref_store *refs,
35623563
* of processing the split-off update, so we
35633564
* don't have to do it here.
35643565
*/
3565-
ret = split_symref_update(update, referent.buf, transaction,
3566+
ret = split_symref_update(refs, update,
3567+
referent.buf, transaction,
35663568
affected_refnames, err);
35673569
if (ret)
35683570
return ret;

0 commit comments

Comments
 (0)