summaryrefslogtreecommitdiff
path: root/t/t4100
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-04-22 21:52:22 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-01 15:33:10 -0700
commit9a489f3c17d6c974b18c47cf406404ca2a721c87 (patch)
tree2a498f1c399ef6a01e440b706e6075c8dfcda16b /t/t4100
parentpeel_ref(): fix return value for non-peelable, not-current reference (diff)
downloadtgif-9a489f3c17d6c974b18c47cf406404ca2a721c87.tar.xz
refs: extract a function peel_entry()
Peel the entry, and as a side effect store the peeled value in the entry. Use this function from two places in peel_ref(); a third caller will be added soon. Please note that this change can lead to ref_entries for unpacked refs being peeled. This has no practical benefit but is harmless. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4100')
0 files changed, 0 insertions, 0 deletions