Re: [PATCH] Add git-zip-tree to .gitignore

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] Add git-zip-tree to .gitignore

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:38

Rene Scharfe [off-list ref] writes:
quoted hunk
Signed-off-by: Rene Scharfe <redacted>
diff --git a/.gitignore b/.gitignore
index 55cd984..58a7c92 100644
--- a/.gitignore
+++ b/.gitignore
@@ -124,6 +124,7 @@ git-verify-pack
 git-verify-tag
 git-whatchanged
 git-write-tree
+git-zip-tree
 git-core-*/?*
 gitweb/gitweb.cgi
 test-date
That is sensible.

Although it was my fault applying it already to "master" without
asking this question first, I started to wonder how many more
archive format people would want, and if it might make more
sense to consolidate git-*-tree into a single frontend with an
option to specify the archiver.

We would obviously need to keep git-tar-tree as a backward
compatibility alias for "git archive-tree -f tar", but doing
things that way we do not have to introduce unbounded number of
new git-{zip,rar,...}-tree programs.

Re: [PATCH] Add git-zip-tree to .gitignore

From: Rene Scharfe <hidden>
Date: 2016-06-15 22:42:38

Junio C Hamano schrieb:
Although it was my fault applying it already to "master" without 
asking this question first, I started to wonder how many more archive
format people would want, and if it might make more sense to
consolidate git-*-tree into a single frontend with an option to
specify the archiver.

We would obviously need to keep git-tar-tree as a backward 
compatibility alias for "git archive-tree -f tar", but doing things
that way we do not have to introduce unbounded number of new
git-{zip,rar,...}-tree programs.
That thought occurred to me, too.  I guess there are not that many more
interesting archive formats, though.  Can we defer adding
git-archive-tree until a third archive format command appears?  I won't
submit another one, I promise. ;-)

René
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help