summaryrefslogtreecommitdiff
path: root/builtin/help.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-04-22 21:52:19 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-01 15:33:10 -0700
commitcb2ae1c418eae2cf2c632ca78a14861ff5f3da68 (patch)
treedd33c97d7007b442adabff0134462866bdb6a463 /builtin/help.c
parentrefs: extract a function ref_resolves_to_object() (diff)
downloadtgif-cb2ae1c418eae2cf2c632ca78a14861ff5f3da68.tar.xz
refs: extract function peel_object()
It is a nice, logical unit of work, and putting it in a function removes the need to use a goto in peel_ref(). Soon it will also have other uses. The algorithm is unchanged. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/help.c')
0 files changed, 0 insertions, 0 deletions