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

Re: Linux 3.1-rc5

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Sep 6, 2011, 07:23 UTC
Message-ID
<4E65CA7B.5050803@drmicha.warpmail.net>
In-Reply-To
<4E65307F.5020103@redhat.com>
Mauro Carvalho Chehab venit, vidit, dixit 05.09.2011 22:26:
Show 16 quoted lines
> Em 04-09-2011 20:27, Linus Torvalds escreveu:
> 
>> One thing to note: If you just do
>>
>>    git pull https://github.com/torvalds/linux.git
>>
>> you probably won't get the tags, since it's not your origin branch. So do
>>
>>    git fetch --tags<...>
>>
>> too, so that you get not only the actual changes, but the tag that you
>> can verify too.
>>
> 
> It would be great if "git remote update" could also verify the tag
> signature (if present), as most of us just do a "git remote update".
...when you should "git fetch --all" ;)
Show 6 quoted lines
> Maybe an extra parameter for git config remote.tagopt?
> 
> Ok, if in doubt, we can always use git tag -v <new tag>, but doing
> it automagically would help us to detect if a git tag got mangled
> by some  at the moment we update our trees, with seems to be
> a good idea.

The update hook (if you want to reject falsified tags) or post-update hook (if you want to be warned) is the perfect place for this. It would be worth amending the standard update hook, me thinks, after removing its insisting on a project description, and maybe switching the defaults.

Michael
Previous: Mauro Carvalho ChehabNext: Henrique de Moraes Holschuh
Message 2 of 3 in “Re: Linux 3.1-rc5”
  1. Mauro Carvalho ChehabSep 5, 2011
  2. Michael J GruberSep 6, 2011
  3. Henrique de Moraes HolschuhSep 7, 2011

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.