aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-29 17:52:11 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-29 17:52:11 -0700
commit575f497456e4d4669b3b0095482ba2b86f6d2807 (patch)
treeb5bd0c613fe913dac4ef895a6157c9fc9c115bf3 /cache.h
parentad6ce07c44c8f76599d506d38cc3194e886e694a (diff)
downloadgit-575f497456e4d4669b3b0095482ba2b86f6d2807.tar.gz
git-575f497456e4d4669b3b0095482ba2b86f6d2807.tar.xz
Add first cut at "git-receive-pack"
It's not working yet, but it's at the point where I want to be able to track my changes. The theory of operation is that this is the "remote" side of a "git push". It can tell us what references the remote side has, receives out reference update commands and a pack-file, and can execute the unpacking command.
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 9b021d656..4e20455f4 100644
--- a/cache.h
+++ b/cache.h
@@ -14,6 +14,8 @@
#include <sys/mman.h>
#include <sys/param.h>
#include <netinet/in.h>
+#include <sys/types.h>
+#include <dirent.h>
#include SHA1_HEADER
#include <zlib.h>