Subject: Re: git show and gitweb gives different result for kernel

From: Martin Waitz <[email-masked]>
Date: Fri, 6 Oct 2006 20:30:55 +0200

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