summaryrefslogtreecommitdiff
path: root/t/t4054-diff-bogus-tree.sh
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-04-22 21:52:26 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-01 15:33:10 -0700
commit9fc0a64806aa72ca7ef1c20468ffcef5c86978b8 (patch)
tree7c587ee7922b35982c9cf5a810d0851ad0dd61fc /t/t4054-diff-bogus-tree.sh
parentrepack_without_ref(): silence errors for dangling packed refs (diff)
downloadtgif-9fc0a64806aa72ca7ef1c20468ffcef5c86978b8.tar.xz
search_ref_dir(): return an index rather than a pointer
Change search_ref_dir() to return the index of the sought entry (or -1 on error) rather than a pointer to the entry. This will make it more natural to use the function for removing an entry from the list. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4054-diff-bogus-tree.sh')
0 files changed, 0 insertions, 0 deletions