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

Re: [PATCH 0/3] More on pulling signed tags

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jan 5, 2012, 00:30 UTC
Message-ID
<CA+55aFxuHjADrnT4METD=JRqhO0L1tKv=_pB9aOODbokM7rd-g@mail.gmail.com>
In-Reply-To
<7vobujngl3.fsf@alter.siamese.dyndns.org>
On Wed, Jan 4, 2012 at 4:22 PM, Junio C Hamano <gitster@pobox.com> wrote:
>
> ... and this is a fix-up patch on top of the series. With this, the output
> becomes like this:

Looking good, this is very useful. The hacks to extract the signatures with 'git cat-file' were pretty ugly.

This is also nice for the case where the person doing the merge doesn't yet have the pgp key something was signed with, so when you do the "git pull", you get the "unknown key" thing instead of a "good signature" message in the editor buffer.

It *used* to be the case that you had to abort the merge, fetch the key, and re-pull in order to verify the key.

Now you can just say "ok, I'll commit the merge" and finish up, then fetch the key, do "git show --show-signature", and if it doesn't show up as good (which would be very rare) you can then 'git reset' instead. Which while less anal, is a lot more convenient.

                    Linus
Previous: Junio C Hamano
Message 7 of 7 in “More on pulling signed tags”
  1. 0/3 More on pulling signed tagsJunio C Hamano, Jan 4, 2012
  2. 1/3 verify_signed_buffer: fix stale commentJunio C Hamano, Jan 4, 2012
  3. 2/3 log-tree.c: small refactor in show_signature()Junio C Hamano, Jan 4, 2012
  4. 3/3 log-tree: show mergetag in log --show-signature outputJunio C Hamano, Jan 4, 2012
  5. Junio C HamanoJan 5, 2012
  6. Junio C HamanoJan 5, 2012
  7. Linus TorvaldsJan 5, 2012

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.