summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-12-12 19:49:59 -0500
committerJunio C Hamano <gitster@pobox.com>2011-12-13 10:18:12 -0800
commitbab8d28e774c255a326ad5592af6351e4925efcb (patch)
treec9440cb225ba86b0221050b4ff7b0600430fb34f /cache.h
parent1e7ba0f9caf1993491aa4c5cbd796cd31cb0f4af (diff)
downloadgit-bab8d28e774c255a326ad5592af6351e4925efcb.tar.gz
connect.c: drop path_match functionjk/fetch-no-tail-match-refs
This function was used for comparing local and remote ref names during fetch (which makes it a candidate for "most confusingly named function of the year"). It no longer has any callers, so let's get rid of it. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 451960175c..79c612fc2f 100644
--- a/cache.h
+++ b/cache.h
@@ -1028,7 +1028,6 @@ extern char *git_getpass(const char *prompt);
extern struct child_process *git_connect(int fd[2], const char *url, const char *prog, int flags);
extern int finish_connect(struct child_process *conn);
extern int git_connection_is_socket(struct child_process *conn);
-extern int path_match(const char *path, int nr, char **match);
struct extra_have_objects {
int nr, alloc;
unsigned char (*array)[20];