threads / patch / 1251

patchUse gzip -f when building the git-core tarball

Subject: [PATCH] Use gzip -f when building the git-core tarball

## tl;dr

One message between Jul 15, 2005 and Jul 15, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Eric W. Biederman· Jul 15, 2005, 01:20 UTC · lore

This allows rebuilding the tarball when it is already present without having to answer annoying questions from gzip

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
d7c4e5ae707a6ad3028c48d800d568c554cc10af
Show changes to Makefile +1 −1
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -183,7 +183,7 @@ dist: git-core.spec git-tar-tree
 	@cp git-core.spec $(GIT_TARNAME)
 	tar rf $(GIT_TARNAME).tar $(GIT_TARNAME)/git-core.spec
 	@rm -rf $(GIT_TARNAME)
-	gzip -9 $(GIT_TARNAME).tar
+	gzip -f -9 $(GIT_TARNAME).tar
 
 rpm: dist
 	$(RPMBUILD) -ta git-core-$(GIT_VERSION).tar.gz

← back to recent threads