Re: obnoxious CLI complaints
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Sep 9, 2009, 22:06 UTC
- Message-ID
- <4C1FB36D-F8A6-4C01-A42A-8AD2355A9961@wincent.com>
- In-Reply-To
- <m3fxavvl5k.fsf@localhost.localdomain>
El 09/09/2009, a las 23:54, Jakub Narebski escribió:
Show 13 quoted lines
> Brendan Miller <catphive@catphive.net> writes: > >> 5. Most commands require lots of flags, and don't have reasonable >> defaults. e.g. archive. >> >> git archive --format=tar --prefix=myproject/ HEAD | gzip >> >myproject.tar.gz >> >> Should just be: >> git archive >> run from the root of the repo. > > I'd rather not have "git archive" work without specifying tree-ish.
Why, out of interest? I would've thought that HEAD would be a pretty good default, although I confess that I have never used "git archive" without specifying a particular signed tag.
Cheers, Wincent