From: Linus Torvalds <torvalds@osdl.org>
To: Martin Waitz <tali@admingilde.org>
Cc: "Aneesh Kumar K.V" <aneesh.kumar@gmail.com>, git@vger.kernel.org
Subject: Re: git show and gitweb gives different result for kernel
Date: Fri, 6 Oct 2006 12:08:05 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0610061202060.3952@g5.osdl.org> (raw)
In-Reply-To: <20061006183054.GU2871@admingilde.org>
On Fri, 6 Oct 2006, Martin Waitz wrote:
>
> But perhaps gitweb should use --cc, too.
Both have their uses.
For example, the diff against the first parent is really broken in some
cases (if a _downstream_ developer synchronizes up with the upstream, the
diff ends up being potentially absolutely huge, and most of the time it's
exactly the wrogn diff to show), but in other cases it's a really
wonderful diff.
So for the kernel, the current gitweb behaviour tends to be exactly what
you want if it's a merge that I did, especially if it was a smallish
merge.
In contrast, the default for "git show" (--cc) always shows something that
makes sense, but it's not necessarily going to always be _useful_. It just
shows the conflicting parts, which is something that is sensible
regardless of which way the merge went, but it obviously doesn't really
say anything about what the real _changes_ were.
So gitweb often shows what people want it to show, but then at other times
it shows totally pointless stuff. While --cc always shows something
"relevant" (and often that's the empty set), but it's relevant only in a
very specific way: it is about how the merge fixed up data conflicts, and
that's not necessarily anything most people are even interested in.
I think it might make sense for gitweb to just have the option to show the
diff against any of the parents _or_ to show the conflicting parts (--cc).
Simply because different people and different uses will have different
ideas of what they find useful.
Linus
prev parent reply other threads:[~2006-10-06 19:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-06 17:56 git show and gitweb gives different result for kernel Aneesh Kumar K.V
2006-10-06 18:30 ` Martin Waitz
2006-10-06 19:08 ` Linus Torvalds [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0610061202060.3952@g5.osdl.org \
--to=torvalds@osdl.org \
--cc=aneesh.kumar@gmail.com \
--cc=git@vger.kernel.org \
--cc=tali@admingilde.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).