summaryrefslogtreecommitdiff
path: root/builtin/symbolic-ref.c
diff options
context:
space:
mode:
authorLibravatar Karthik Nayak <karthik.188@gmail.com>2015-06-14 01:07:20 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-06-15 11:48:08 -0700
commitfc80edcae1cdaac42b2e09c64df2e5cd06e3a336 (patch)
tree0f9f177c55a47c5b073b12b6ec2a9cb4b19f3694 /builtin/symbolic-ref.c
parentfor-each-ref: extract helper functions out of grab_single_ref() (diff)
downloadtgif-fc80edcae1cdaac42b2e09c64df2e5cd06e3a336.tar.xz
for-each-ref: clean up code
In 'grab_single_ref()' remove the extra count variable 'cnt' and use the variable 'grab_cnt' of structure 'grab_ref_cbdata' directly instead. Mentored-by: Christian Couder <christian.couder@gmail.com> Mentored-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr> Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/symbolic-ref.c')
0 files changed, 0 insertions, 0 deletions