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

Re: [PATCH v2 1/9] cherry-pick, revert: add the --gpg-sign option

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 24, 2014, 22:45 UTC
Message-ID
<xmqqa9elq9re.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20140124210836.GA58260@vauxhall.crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
Show 15 quoted lines
> On Fri, Jan 24, 2014 at 01:00:06PM -0800, Junio C Hamano wrote:
>> "brian m. carlson" <sandals@crustytoothpaste.net> writes:
>> 
>> > +-S[<keyid>]::
>> > +--gpg-sign[=<keyid>]::
>> > +	GPG-sign commits.
>> > +
>> 
>> Does this accept --no-gpg-sign?  If not, shouldn't it?
>
> It does not.  I took Nicolas's patches from the list and applied them to
> master, so nothing from next is there, including the commit.gpgsign
> stuff.
>
> Would you prefer I rebased them on next instead?
Not really.

It is debatable if it should mean that the user wants to sign commits that are created by running other commands like "am" and "stash" when he sets commit.gpgsign to true, but even if the answer to that question were true, the configuration must be overridable with e.g. "git stash --no-gpg-sign", explicitly from the command line. Until that happens, the series with 2af2ef3c (Add the commit.gpgsign option to sign all commits, 2013-11-05) cannot be merged to 'master'.

A series that lets you specify positives from the command line without any sticky configuration variable, i.e. these patches, do not have to wait for that to happen. So this series should come first and then the "commit.gpgsign" ones can be rebased on top of this series, I would think.

Previous: brian m. carlsonNext: brian m. carlson
Message 5 of 22 in “add --gpg-sign to rebase and pull”
  1. 0/9 add --gpg-sign to rebase and pullbrian m. carlson, Jan 24, 2014
  2. 1/9 cherry-pick, revert: add the --gpg-sign optionbrian m. carlson, Jan 24, 2014
  3. Junio C HamanoJan 24, 2014
  4. brian m. carlsonJan 24, 2014
  5. Junio C HamanoJan 24, 2014
  6. 2/9 git-sh-setup.sh: add variable to use the stuck-long modebrian m. carlson, Jan 24, 2014
  7. Junio C HamanoJan 27, 2014
  8. 3/9 am: parse options in stuck-long modebrian m. carlson, Jan 24, 2014
  9. 4/9 am: add the --gpg-sign optionbrian m. carlson, Jan 24, 2014
  10. Junio C HamanoJan 27, 2014
  11. 5/9 rebase: remove useless arguments checkbrian m. carlson, Jan 24, 2014
  12. 6/9 rebase: don't try to match -M optionbrian m. carlson, Jan 24, 2014
  13. 7/9 rebase: parse options in stuck-long modebrian m. carlson, Jan 24, 2014
  14. 8/9 rebase: add the --gpg-sign optionbrian m. carlson, Jan 24, 2014
  15. Junio C HamanoJan 27, 2014
  16. brian m. carlsonJan 27, 2014
  17. 9/9 pull: add the --gpg-sign option.brian m. carlson, Jan 24, 2014
  18. Junio C HamanoJan 27, 2014
  19. brian m. carlsonFeb 1, 2014
  20. Junio C HamanoFeb 3, 2014
  21. Nicolas VigierJan 24, 2014
  22. Junio C HamanoJan 24, 2014

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.