Thread (2 messages) 2 messages, 2 authors, 2017-05-01

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

From: Tomi Belan <hidden>
Date: 2017-05-01 13:27:12

On Sun, Apr 30, 2017 at 12:21 PM, Andreas Schwab [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help