aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-04 11:57:58 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-04 11:57:58 -0700
commitf71925983ddc365c167559ecc623f2c000607cda (patch)
tree4eaf19a0c2bd9a93d35c41b5afedf79ea2ce93f7 /cache.h
parenta61eea6abdbd336c7a3364c170cce3de01421599 (diff)
downloadgit-f71925983ddc365c167559ecc623f2c000607cda.tar.gz
git-f71925983ddc365c167559ecc623f2c000607cda.tar.xz
Factor out the ssh connection stuff from send-pack.c
I want to use it for git-fetch-pack too.
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index bf589a804..52842a0bc 100644
--- a/cache.h
+++ b/cache.h
@@ -259,6 +259,9 @@ struct pack_entry {
struct packed_git *p;
};
+extern int git_connect(int fd[2], char *url, const char *prog);
+extern int finish_connect(pid_t pid);
+
extern void prepare_packed_git(void);
extern int use_packed_git(struct packed_git *);
extern void unuse_packed_git(struct packed_git *);