diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-13 18:46:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-13 18:46:20 -0700 |
commit | 2386d65822c912f0889ac600b1698b0659190133 (patch) | |
tree | 26e01b11b643ee2f423f4be3ee92b964e75df7e8 /cache.h | |
parent | Make "git-checkout" create files with O_EXCL (diff) | |
download | tgif-2386d65822c912f0889ac600b1698b0659190133.tar.xz |
Add first cut at "git protocol" connect logic.
Useful for pulling stuff off a dedicated server. Instead of connecting
with ssh or just starting a local pipeline, we connect over TCP to the
other side and try to see if there's a git server listening.
Of course, since I haven't written the git server yet, that will never
happen. But the server really just needs to listen on a port, and
execute a "git-upload-pack" when somebody connects.
(It should read one packet-line, which should be of the format
"git-upload-pack directoryname\n"
and eventually we migth have other commands the server might accept).
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -41,6 +41,16 @@ #endif /* + * Intensive research over the course of many years has shown that + * port 9418 is totally unused by anything else. Or + * + * Your search - "port 9418" - did not match any documents. + * + * as www.google.com puts it. + */ +#define DEFAULT_GIT_PORT 9418 + +/* * Environment variables transition. * We accept older names for now but warn. */ |