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

Re: Bug: wrong documentation for git-fast-import's option command

From
TBTomi Belan <tomi.belan@gmail.com>
Date
May 1, 2017, 13:26 UTC
Message-ID
<CACUV5ocdADaXYpcQG6kJ0CaR+d+EwyaSFFReaO2ni+1CnJMvyw@mail.gmail.com>
In-Reply-To
<874lx68abt.fsf@linux-m68k.org>
On Sun, Apr 30, 2017 at 12:21 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Unless <option> starts with 'git', as you have seen.  Other importers
> may recognize other options, eg 'option hg ...'.

Hmm? Are you disagreeing with how I described the issue, or saying there is no issue at all? I'm not sure.

I know the syntax is meant for other importers, which might accept different options. My point is that the man page doesn't say anything about that. If a frontend follows the man page and just prints e.g. "option quiet", git-fast-import will silently ignore it.

If you dislike my suggested fix "'option' SP 'git' SP ...", then how about 'option' SP <program> SP <option> ('=' <argument>)? LF and saying that for options supported by Git, <program> must be 'git'?

Cheers,
Tomi
Previous: Andreas Schwab
Message 3 of 3 in “Bug: wrong documentation for git-fast-import's option command”
  1. Tomi BelanApr 30, 2017
  2. Andreas SchwabApr 30, 2017
  3. Tomi BelanMay 1, 2017

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.