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

1 messages from 2005-07-15 to 2005-07-15. Participants: Eric W. Biederman.
Thread: https://gitlist.dev/t/1251

## Eric W. Biederman, 2005-07-15 01:20

Subject: [PATCH] Use gzip -f when building the git-core tarball
Message-ID: <m1y888x3t9.fsf@ebiederm.dsl.xmission.com>
URL: https://gitlist.dev/e/m1y888x3t9.fsf%40ebiederm.dsl.xmission.com

```

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
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

```
