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