aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>2006-06-18 15:25:33 +0200
committerJunio C Hamano <junkio@cox.net>2006-06-18 11:29:36 -0700
commit9cd625b79babaf50f50a0e5d96903eaacb1ee600 (patch)
treeb5cc9683b52e6a0d75eb7a68aee9944e9e9c15ae /Makefile
parent6698060c15e837babb3b80f980bbed290934a692 (diff)
downloadgit-9cd625b79babaf50f50a0e5d96903eaacb1ee600.tar.gz
git-9cd625b79babaf50f50a0e5d96903eaacb1ee600.tar.xz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2a1e6392d..28517f4c3 100644
--- a/Makefile
+++ b/Makefile
@@ -667,7 +667,7 @@ git.spec: git.spec.in
GIT_TARNAME=git-$(GIT_VERSION)
dist: git.spec git-tar-tree
- ./git-tar-tree HEAD $(GIT_TARNAME) > $(GIT_TARNAME).tar
+ ./git-tar-tree HEAD^{tree} $(GIT_TARNAME) > $(GIT_TARNAME).tar
@mkdir -p $(GIT_TARNAME)
@cp git.spec $(GIT_TARNAME)
@echo $(GIT_VERSION) > $(GIT_TARNAME)/version