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

Re: Unknown option: no-signed-off-by-cc (git-send-email)

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Mar 3, 2008, 19:17 UTC
Message-ID
<47CC4EE4.1050106@nrlssc.navy.mil>
In-Reply-To
<47CC456B.6000203@freescale.com>
Timur Tabi wrote:
Show 13 quoted lines
> Jon Loeliger wrote:
> 
>> Except that the "no" and "signed" are not separated by "-".
> 
> From the man page:
> 
>        --no-signed-off-by-cc
>               Do  not add emails found in Signed-off-by: lines to the cc list.
> 
> However, when I removed the "-", it worked.  So thanks for that.
> 
> It *used* to work with the "-", so I consider it a bug.
> 

git-send-email.txt does still mention --no-signed-off-by-cc, and additionally --no-chain-reply-to, --no-suppress-from, and --no-thread.

Shouldn't either work? This is from the Getopt::Long man page:
       !   The option does not take an argument and may be negated, i.e. pre-
           fixed by "no". E.g. "foo!" will allow "--foo" (a value of 1 will
           be assigned) and "--nofoo" and "--no-foo" (a value of 0 will be
           assigned). If the option has aliases, this applies to the aliases
           as well.
Looks like --no-signed-off-by-cc or --nosigned-off-by-cc should work, no?
-brandon
Previous: Timur Tabi
Message 4 of 4 in “Unknown option: no-signed-off-by-cc (git-send-email)”
  1. Timur TabiMar 3, 2008
  2. Jon LoeligerMar 3, 2008
  3. Timur TabiMar 3, 2008
  4. Brandon CaseyMar 3, 2008

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.