Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2013-04-22 23:52:26 +0400
committerJunio C Hamano <gitster@pobox.com>2013-05-02 02:33:10 +0400
commit9fc0a64806aa72ca7ef1c20468ffcef5c86978b8 (patch)
tree7c587ee7922b35982c9cf5a810d0851ad0dd61fc /streaming.c
parentab292bc4f30dd29d3d111b040b9e982f20b9ceb7 (diff)
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 'streaming.c')
0 files changed, 0 insertions, 0 deletions