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

Re: RFC: update hook for GPG signed submission on secured branches

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 16, 2015, 22:49 UTC
Message-ID
<xmqq7fwm1gtx.fsf@gitster.dls.corp.google.com>
In-Reply-To
<BD3DE7B299FE458287DC8C829CEADEC2@black>
"Jason Pyeron" <jpyeron@pdinc.us> writes:
>> Is this complex pipeline the same as this (I didn't understand the
>> trailing I at the end)?
>
> Case insensitive, could have used [0-9a-fA-F].
Ahh, a GNU extension.
Show 7 quoted lines
>> 	git cat-file commit "$newrev" |
>>         sed -ne '/^gpgsig /,/^ -----END/{
>>         	s/^gpgsig //
>>                 s/^ //p
>> 	}' |
>
> Will all future signature values end with a "^ -----END"?

If it bothers you, alternatively, you can stop at the end of the commit object header, i.e.

	/^gpgsig /,/^$/{
        	s/^gigsig//
                s/^ //p
	}
but I do not think it matters that much ;-)
Previous: John Keeping
Message 6 of 6 in “RFC: update hook for GPG signed submission on secured branches”
  1. Jason PyeronJan 16, 2015
  2. Junio C HamanoJan 16, 2015
  3. Junio C HamanoJan 16, 2015
  4. Jason PyeronJan 16, 2015
  5. John KeepingJan 16, 2015
  6. Junio C HamanoJan 16, 2015

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.