@matheusbsbs / matheus-bagliano / commits / 9cd625b79b
Fork 0

Make release tarballs friendlier to older tar versions

git-tar-tree adds an extended pax header to archives if its first parameter points to a commit. It confuses older tars and isn't very useful in the case of git anyway, so stop doing it. Idea: Junio, implementation: Junio. I just wrote it up. :-) Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>

Rene Scharfe committed Jun 18, 2006 at 15:25 UTC 9cd625b79babaf50f50a0e5d96903eaacb1ee600
1 file changed +1 -1
Makefile
+1 -1
@@ -667,7 +667,7 @@ git.spec: git.spec.in
667
668 GIT_TARNAME=git-$(GIT_VERSION)
669 dist: git.spec git-tar-tree
670 - ./git-tar-tree HEAD $(GIT_TARNAME) > $(GIT_TARNAME).tar
670 + ./git-tar-tree HEAD^{tree} $(GIT_TARNAME) > $(GIT_TARNAME).tar
671 @mkdir -p $(GIT_TARNAME)
672 @cp git.spec $(GIT_TARNAME)
673 @echo $(GIT_VERSION) > $(GIT_TARNAME)/version