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

It used to be that ref_transaction_commit() allocated a temporary
array to hold the types of references while it is working.  Instead,
add a type field to ref_update that ref_transaction_commit() can use
as its scratch space.

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