diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-04-22 21:52:15 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-01 15:33:09 -0700 |
commit | 63331581aba9537a83d2e9fe21ffab305d9f8ad6 (patch) | |
tree | 976674e7fafb51e361d3a9190e625af135435960 /t/t1010-mktree.sh | |
parent | do_for_each_ref_in_dirs(): remove dead code (diff) | |
download | tgif-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 't/t1010-mktree.sh')
0 files changed, 0 insertions, 0 deletions