summaryrefslogtreecommitdiff
path: root/remote-curl.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-04-22 21:52:15 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-01 15:33:09 -0700
commit63331581aba9537a83d2e9fe21ffab305d9f8ad6 (patch)
tree976674e7fafb51e361d3a9190e625af135435960 /remote-curl.c
parentdo_for_each_ref_in_dirs(): remove dead code (diff)
downloadtgif-63331581aba9537a83d2e9fe21ffab305d9f8ad6.tar.xz
get_packed_ref(): return a ref_entry
Instead of copying the reference's SHA1 into a caller-supplied variable, just return the ref_entry itself (or NULL if there is no such entry). This change will allow the function to be used from elsewhere. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote-curl.c')
0 files changed, 0 insertions, 0 deletions