author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Sat, 26 Aug 2006 21:19:21 +0000 (23:19 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 27 Aug 2006 01:27:35 +0000 (18:27 -0700) | ||
commit | e4fbbfe9eccd37c0f9c060eac181ce05988db76c | |
tree | d48db03515fc3c96e9c7414272c3c0af507edcc0 | tree | snapshot |
parent | 5f641ccc69da1e0f2e3953f615cf592e83ec721b | commit | diff |
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>
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>
Documentation/git-zip-tree.txt | [new file with mode: 0644] | blob |
Makefile | diff | blob | history | |
builtin-zip-tree.c | [new file with mode: 0644] | blob |
builtin.h | diff | blob | history | |
git.c | diff | blob | history |