]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
struct ref_update: add a lock field
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 7 Apr 2014 13:48:16 +0000 (15:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Apr 2014 19:09:15 +0000 (12:09 -0700)
commit81c960e4dcbd69e28b031cbe370100cb28acb911
tree041c8674036e0c218c75aa8d4fa05bb92841fc32
parentcb198d21d3848f0c5f3d85a471a6a6793e540ca4
struct ref_update: add a lock field

Now that we manage ref_update objects internally, we can use them to
hold some of the scratch space we need when actually carrying out the
updates.  Store the (struct ref_lock *) there.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c