summaryrefslogtreecommitdiff
path: root/compat/win32/pthread.c
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 /compat/win32/pthread.c
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 'compat/win32/pthread.c')
0 files changed, 0 insertions, 0 deletions