]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
ref_transaction_commit(): simplify code using temporary variables
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 7 Apr 2014 13:48:15 +0000 (15:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Apr 2014 19:09:15 +0000 (12:09 -0700)
commitcb198d21d3848f0c5f3d85a471a6a6793e540ca4
treed84e252e441a3c9fcb4f850e4b987ea95fc321de
parent88615910db7f700ae437318308a8631888bd28cd
ref_transaction_commit(): simplify code using temporary variables

Use temporary variables in the for-loop blocks to simplify expressions
in the rest of the loop.

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