]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
ref_transaction_commit(): work with transaction->updates in place
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 7 Apr 2014 13:48:18 +0000 (15:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Apr 2014 19:09:16 +0000 (12:09 -0700)
commit6a402338ec9ca0369e1801533dda2108689ceaaf
treeaf1a43aa7184caf21847b64823ca8adfe46b684f
parent84178db76f34d0b8d363545f6e18c99f6e37df4e
ref_transaction_commit(): work with transaction->updates in place

Now that we free the transaction when we are done, there is no need to
make a copy of transaction->updates before working with it.

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