diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-04-22 21:52:22 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-01 15:33:10 -0700 |
commit | 9a489f3c17d6c974b18c47cf406404ca2a721c87 (patch) | |
tree | 2a498f1c399ef6a01e440b706e6075c8dfcda16b /t/t4013/diff.format-patch_--inline_--stdout_--numbered-files_initial..master | |
parent | peel_ref(): fix return value for non-peelable, not-current reference (diff) | |
download | tgif-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/t4013/diff.format-patch_--inline_--stdout_--numbered-files_initial..master')
0 files changed, 0 insertions, 0 deletions