Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git archive without path

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:48

Michael J Gruber [off-list ref] writes:
Depends on the definition of "all" :)

In fact: Two mighty powers are fighting right now for the primacy in the
Land of the Git, and both carry the name "consistency" on their flags.
One is the "order of the consistency of generations", also named
"backwards compatibility", and one is the "order of the consistency of
commands", also named "user experience".
You need to throw in another "work similarly to the counterpart outside
git world" and you will have a better picture.  This third consistency
often sides with the first one.

In the case of "git archive" (and "git grep" in the other thread), it
works like you run "tar" (and "grep -r", for "git grep") both because the
original implementor wanted a version of "tar" ("grep") that works inside
git world, and early adopters and users found the third consistency easy
to work with, and that is why the third consistency grew into the first
one.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help