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

Re: [RFC/PATCH] rebase--interactive: Add "sign" command

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 4, 2016, 16:05 UTC
Message-ID
<xmqqinvg5xjv.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160803180820.2raazmsfjavoaogo@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 22 quoted lines
> On Wed, Aug 03, 2016 at 09:08:48AM -0700, Junio C Hamano wrote:
>
>> > However, I could imagine that we actually want this to be more extensible.
>> > After all, all you are doing is to introduce a new rebase -i command that
>> > does nothing else than shelling out to a command.
>> 
>> Yup, I tend to agree.
>> 
>> Adding "sign" feature (i.e. make it pass -S to "commit [--amend]")
>> may be a good thing, but adding "sign" command to do so is not a
>> great design.
>
> I'm not sure what you mean by "feature" here, but it reminded me of
> Michael's proposal to allow options to todo lines:
>
>   http://public-inbox.org/git/530DA00E.4090402@alum.mit.edu/
>
> which would allow:
>
>   pick -S 1234abcd
>
> If that's what you meant, I think it is a good idea. :)

Yes, by "feature" I meant "giving the ability to decide if the resulting commit gets signature", which can and should be orthogonal to the choice of using editor to reword the message when the commit is created or "--no-edit" is passed and the original message is used verbatim.

Previous: Chris PackhamNext: Johannes Schindelin
Message 8 of 11 in “rebase--interactive: Add "sign" command”
  1. rebase--interactive: Add "sign" commandChris Packham, Aug 3, 2016
  2. Johannes SchindelinAug 3, 2016
  3. Johannes SchindelinAug 3, 2016
  4. Junio C HamanoAug 3, 2016
  5. Johannes SchindelinAug 3, 2016
  6. Jeff KingAug 3, 2016
  7. Chris PackhamAug 4, 2016
  8. Junio C HamanoAug 4, 2016
  9. Johannes SchindelinAug 5, 2016
  10. Chris PackhamAug 4, 2016
  11. Junio C HamanoAug 3, 2016

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.