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

[PATCH v2] Re: add documentation for mailinfo.scissors and '--no-scissors'

From
NSNicolas Sebrecht <nicolas.s.dev@gmx.fr>
Date
Sep 11, 2009, 20:08 UTC
Message-ID
<20090911200849.GB18684@vidovic>
In-Reply-To
<7vws45wbxq.fsf@alter.siamese.dyndns.org>
The 11/09/09, Junio C Hamano wrote:
Show 8 quoted lines
> Nicolas Sebrecht <nicolas.s.dev@gmx.fr> writes:
> 
> As scissors is not marked with ! (see PARSEOPT section in the rev-parse
> documentation), no-scissors is already available without that hunk, and
> that is why your patch is unnecessary.
> 
> Your patch did not mark no-scissors with ! either, so it makes the call to
> rev-parse --parseopt to process your OPTIONS_SPEC pass --no-no-scissors.

Ok. So, the fact that the usage of git-am doesn't tell about --no-scissors is the expected behaviour?

Without changing the current implementation of rev-parse, I can't see a smart way to add --no-scissors in the 'git am' usage. Yes, there's still the possibility to negate both "c,scissors" and "no-scissors" but this would defeate some of the PARSE_OPT_NONEG purpose, right?

Oh, and I still feel a bit disoriented by this "rev-parse --parseopt" thing. I guess I need to read the code. :-)

-- 
Nicolas Sebrecht
Previous: Junio C HamanoNext: Junio C Hamano
Message 18 of 24 in “What's cooking in git.git (Sep 2009, #02; Mon, 07)”
  1. Junio C HamanoSep 8, 2009
  2. Nanako ShiraishiSep 8, 2009
  3. Junio C HamanoSep 8, 2009
  4. Jakub NarebskiSep 8, 2009
  5. Sverre RabbelierSep 8, 2009
  6. jk/1.7.0-status, was: What's cooking in git.git (Sep 2009, #02; Mon, 07)Jeff King, Sep 9, 2009
  7. Daniel BarkalowSep 10, 2009
  8. Johannes SchindelinSep 10, 2009
  9. Daniel BarkalowSep 10, 2009
  10. Junio C HamanoSep 10, 2009
  11. scissors definition and documentationNicolas Sebrecht, Sep 11, 2009
  12. 1/2 mailinfo: add '--scissors' to usage messageNicolas Sebrecht, Sep 11, 2009
  13. 2/2 add documentation for mailinfo.scissors and '--no-scissors'Nicolas Sebrecht, Sep 11, 2009
  14. add documentation for mailinfo.scissors and '--no-scissors'Nicolas Sebrecht, Sep 11, 2009
  15. Junio C HamanoSep 11, 2009
  16. Re: add documentation for mailinfo.scissors and '--no-scissors'Nicolas Sebrecht, Sep 11, 2009
  17. Junio C HamanoSep 11, 2009
  18. Re: add documentation for mailinfo.scissors and '--no-scissors'Nicolas Sebrecht, Sep 11, 2009
  19. Junio C HamanoSep 11, 2009
  20. Re: add documentation for mailinfo.scissors and '--no-scissors'Nicolas Sebrecht, Sep 12, 2009
  21. 2/2 add documentation for mailinfo.scissors and '--no-scissors'Nicolas Sebrecht, Sep 11, 2009
  22. Junio C HamanoSep 12, 2009
  23. Junio C HamanoSep 12, 2009
  24. Sverre RabbelierSep 12, 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.