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

Re: git show and gitweb gives different result for kernel

From
Martin Waitz <tali@admingilde.org>
Date
Oct 6, 2006, 18:30 UTC
Message-ID
<20061006183054.GU2871@admingilde.org>
In-Reply-To
<eg65cl$cvs$1@sea.gmane.org>
hoi :)
On Fri, Oct 06, 2006 at 11:26:35PM +0530, Aneesh Kumar K.V wrote:
> http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=363e065c02b1273364d5356711a83e7f548fc0c8
> 
> git show 363e065c02b1273364d5356711a83e7f548fc0c8

what do you mean? the diff? git show uses diff --cc so that only changes which are not in the parent trees are shown. gitweb just diffs against the first parent, and this diff is large in your example because a new upstream Linux kernel got merged into a topic branch. But it should still be correct.

But perhaps gitweb should use --cc, too.
-- 
Martin Waitz
Previous: Aneesh Kumar K.VNext: Linus Torvalds
Message 2 of 3 in “git show and gitweb gives different result for kernel”
  1. Aneesh Kumar K.VOct 6, 2006
  2. Martin WaitzOct 6, 2006
  3. Linus TorvaldsOct 6, 2006

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.