diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-04-22 21:52:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-01 15:33:10 -0700 |
commit | cb2ae1c418eae2cf2c632ca78a14861ff5f3da68 (patch) | |
tree | dd33c97d7007b442adabff0134462866bdb6a463 /name-hash.c | |
parent | refs: extract a function ref_resolves_to_object() (diff) | |
download | tgif-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 'name-hash.c')
0 files changed, 0 insertions, 0 deletions