threads / discuss / 12460

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

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

## tl;dr

4 messages between Mar 3, 2008 and Mar 3, 2008.

replies: 3people: 3as markdown or json

Timur Tabi· Mar 3, 2008, 16:06 UTC · lore

I just upgraded to 1.5.4, and when I tried to use git-send-email with my usual parameters, I got this:

Unknown option: no-signed-off-by-cc git-send-email [options] <file | directory>...

The documentation for git-send-email still lists this option.
-- 
Timur Tabi
Linux kernel developer at Freescale
Jon Loeliger· Mar 3, 2008, 18:32 UTC · re: Timur Tabi · lore

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

Timur Tabi wrote:
Show 8 quoted lines
> I just upgraded to 1.5.4, and when I tried to use git-send-email with my usual
> parameters, I got this:
> 
> Unknown option: no-signed-off-by-cc
> git-send-email [options] <file | directory>...
> 
> The documentation for git-send-email still lists this option.
> 
Except that the "no" and "signed" are not separated by "-".
jdl
Timur Tabi· Mar 3, 2008, 18:37 UTC · re: Jon Loeliger · lore

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

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.
-- 
Timur Tabi
Linux kernel developer at Freescale
Brandon Casey· Mar 3, 2008, 19:17 UTC · re: Timur Tabi · lore

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

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

← back to recent threads