Re: [PATCH] fast-export: print usage when no options specified
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 6, 2009, 19:28 UTC
- Message-ID
- <alpine.DEB.1.00.0901062023100.30769@pacific.mpi-cbg.de>
- In-Reply-To
- <1230955152-23646-1-git-send-email-vmiklos@frugalware.org>
Hi,
On Sat, 3 Jan 2009, Miklos Vajna wrote:
Show 8 quoted lines
> Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> > --- > > I found that behaviour surprising as well when I saw it the first time. > git rev-list outputs some usage info in that case, git log just logs > HEAD. Given that unconditionally exporting HEAD with no arguments is > probably not something most users want, here is a patch to make the > behaviour like what git rev-list already has.
Maybe this should be part of the commit message?
-- snip -- Some people find it surprising that fast-export does not output a usage when called without parameters, as rev-list does.
This assumes that a user usually does not want to export HEAD by default. -- snap --
However, I have to say that I would find exporting HEAD a rather sensible default.
But I am not _that_ strongly opposed to the patch. Just would like to hear some opinions first.
Ciao, Dscho