aboutsummaryrefslogtreecommitdiff
path: root/builtin/describe.c
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2015-06-14 01:07:20 +0530
committerJunio C Hamano <gitster@pobox.com>2015-06-15 11:48:08 -0700
commitfc80edcae1cdaac42b2e09c64df2e5cd06e3a336 (patch)
tree0f9f177c55a47c5b073b12b6ec2a9cb4b19f3694 /builtin/describe.c
parented01e206ba53a52d0094abcd9f99237b4e2847c9 (diff)
downloadgit-fc80edcae1cdaac42b2e09c64df2e5cd06e3a336.tar.gz
git-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/describe.c')
0 files changed, 0 insertions, 0 deletions