summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@g5.osdl.org>2005-07-04 13:24:30 -0700
committerLibravatar Linus Torvalds <torvalds@g5.osdl.org>2005-07-04 13:24:30 -0700
commit013e7c7ff498aae82d799f80da37fbd395545456 (patch)
tree25116c39be6efafeba226fb7d04b4fbaa04624d3 /cache.h
parentFactor out the ssh connection stuff from send-pack.c (diff)
downloadtgif-013e7c7ff498aae82d799f80da37fbd395545456.tar.xz
Move ref path matching to connect.c library
It's a generic thing for matching refs from the other side.
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 52842a0bc2..c79c70f713 100644
--- a/cache.h
+++ b/cache.h
@@ -261,6 +261,7 @@ struct pack_entry {
extern int git_connect(int fd[2], char *url, const char *prog);
extern int finish_connect(pid_t pid);
+extern int path_match(const char *path, int nr, char **match);
extern void prepare_packed_git(void);
extern int use_packed_git(struct packed_git *);