diff options
author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | 2006-08-26 23:19:21 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-26 18:27:35 -0700 |
commit | e4fbbfe9eccd37c0f9c060eac181ce05988db76c (patch) | |
tree | d48db03515fc3c96e9c7414272c3c0af507edcc0 /Makefile | |
parent | git-svn: stop repeatedly reusing the first commit message with dcommit (diff) | |
download | tgif-e4fbbfe9eccd37c0f9c060eac181ce05988db76c.tar.xz |
Add git-zip-tree
In the Windows world ZIP files are better supported than tar files.
Windows even includes built-in support for ZIP files nowadays.
git-zip-tree is similar to git-tar-tree; it creates ZIP files out of
git trees. It stores the commit ID (if available) in a ZIP file comment
which can be extracted by unzip.
There's still quite some room for improvement: this initial version
supports no symlinks, calls write() way too often (three times per file)
and there is no unit test.
[jc: with a minor typefix to avoid void* arithmetic]
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -292,7 +292,8 @@ BUILTIN_OBJS = \ builtin-update-ref.o \ builtin-upload-tar.o \ builtin-verify-pack.o \ - builtin-write-tree.o + builtin-write-tree.o \ + builtin-zip-tree.o GITLIBS = $(LIB_FILE) $(XDIFF_LIB) LIBS = $(GITLIBS) -lz |