diff options
author | Karthik Nayak <karthik.188@gmail.com> | 2015-06-14 01:07:20 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-15 11:48:08 -0700 |
commit | fc80edcae1cdaac42b2e09c64df2e5cd06e3a336 (patch) | |
tree | 0f9f177c55a47c5b073b12b6ec2a9cb4b19f3694 /builtin/credential.c | |
parent | for-each-ref: extract helper functions out of grab_single_ref() (diff) | |
download | tgif-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/credential.c')
0 files changed, 0 insertions, 0 deletions