From: Johannes Schindelin Date: Tue, 06 Jan 2009 19:28:59 GMT Subject: Re: [PATCH] fast-export: print usage when no options specified Message-ID: In-Reply-To: <1230955152-23646-1-git-send-email-vmiklos@frugalware.org> Hi, On Sat, 3 Jan 2009, Miklos Vajna wrote: > Signed-off-by: Miklos Vajna > --- > > 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