Re: obnoxious CLI complaints
- From
Björn Steinbrink <b.steinbrink@gmx.de>
- Date
- Sep 11, 2009, 03:15 UTC
- Message-ID
- <20090911031519.GA6385@atjola.homenet>
- In-Reply-To
- <7vbpliaaxo.fsf@alter.siamese.dyndns.org>
On 2009.09.10 11:53:23 -0700, Junio C Hamano wrote:
Show 9 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes: > > > First, it would be consistent with how ordinary archivers such as tar > > or zip are used, where you have to specify list of files to archive > > (in our case this list is HEAD). Second, I'd rather not accidentally > > dump binary to terminal: "git archive [HEAD]" dumps archive to standard > > output. > > So does "cat". I do not agree with your second point.
"cat $some_binary" does, not just "cat". I guess Jakub's point was that a command without arguments shouldn't just put some binary crap onto your screen. Of course, "git archive HEAD" still does that, but I kind of he where he's coming from, being one of those that tends to run "$some_command" without arguments, just to see if it shows me some sort of short help.
Björn