diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-04-22 21:52:26 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-01 15:33:10 -0700 |
commit | 9fc0a64806aa72ca7ef1c20468ffcef5c86978b8 (patch) | |
tree | 7c587ee7922b35982c9cf5a810d0851ad0dd61fc /t/t5509-fetch-push-namespaces.sh | |
parent | repack_without_ref(): silence errors for dangling packed refs (diff) | |
download | tgif-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/t5509-fetch-push-namespaces.sh')
0 files changed, 0 insertions, 0 deletions