git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Miklos VajnaNext: Miklos Vajna
Message 3 of 4 in “git-fast-export bundle doc”
  1. jidanni@jidanni.orgJan 3, 2009
  2. fast-export: print usage when no options specifiedMiklos Vajna, Jan 3, 2009
  3. Johannes SchindelinJan 6, 2009
  4. Miklos VajnaJan 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.