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

Re: Strange behavior of gitweb

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Nov 26, 2009, 23:58 UTC
Message-ID
<m24oogyh2o.fsf@igel.home>
In-Reply-To
<Pine.LNX.4.44L0.0911261225130.17259-100000@netrider.rowland.org>
Alan Stern <stern@rowland.harvard.edu> writes:
Show 11 quoted lines
> I recently ran across this strange behavior in the gitweb server at 
> git.kernel.org.  The following URL:
>
> http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=commit;h=2d93148ab6988cad872e65d694c95e8944e1b62
>
> brings up a page containing commit 2d93148[...].  But that commit isn't
> part of the 2.6.27.y tree!  It belongs to Linus's main tree, and it was
> added long after 2.6.27.y was forked off.  The actual commit applied to
> 2.6.27.y was 070bb0f3b6df167554f0ecdeb17a5bcdb1cd7b83.
>
> So what's going on here?

Nothing mysterious. Every tree on kernel.org borrows from Linus' main tree via .git/objects/info/alternates, thus includes its whole object database by reference.

Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Alan SternNext: Alan Stern
Message 2 of 3 in “Strange behavior of gitweb”
  1. Alan SternNov 26, 2009
  2. Andreas SchwabNov 26, 2009
  3. Alan SternNov 27, 2009

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.