From: Shawn Pearce <spearce@spearce.org>
To: Jakub Narebski <jnareb@gmail.com>
Cc: Carl Worth <cworth@cworth.org>, git@vger.kernel.org
Subject: Re: Avoiding uninteresting merges in Cairo
Date: Fri, 15 Dec 2006 11:03:03 -0500 [thread overview]
Message-ID: <20061215160303.GG17860@spearce.org> (raw)
In-Reply-To: <200612151657.06909.jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> wrote:
> Do you mean "commit" view or "commitdiff" view in gitweb for merges
> is confusing?
The commit view was what was confusing me.
> If it is "commit" view, it is fairly easy to remove difftree/whatchanged
> output below commit message for merges. However while git-show nor
> git-diff-tree doesn't show diff for merge messages, the diftree output
> in "commit" view might be taken as 'damages'; git diff --summary always
> takes summary of diff against first parent.
I can see that, but it depends on what the current branch was when
you do the merge. In the cairo case I was looking at yesterday the
"damages" from the merge were actually what was already considered to
be in the mainline as part of the project due to committer pulling
the remote master into his own master before pushing.
Given that the "push; whoops; pull; push" pattern is so common to
Git I think it is sort of misleading to show a merge like this;
lots of activity may have been pulled in from the central branch
during that pull.
iirc git whatchanged for a merge shows only files which cannot be
found in any of the parents; these the files which the merge commit
itself contributed directly. If that set is empty then the commit
just isn't shown by git whatchanged.
--
next prev parent reply other threads:[~2006-12-15 16:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-15 2:06 Avoiding uninteresting merges in Cairo Shawn Pearce
2006-12-15 3:17 ` Carl Worth
2006-12-15 3:25 ` Shawn Pearce
2006-12-15 4:01 ` Carl Worth
2006-12-15 7:53 ` Shawn Pearce
2006-12-15 14:21 ` Jakub Narebski
2006-12-15 15:01 ` Shawn Pearce
2006-12-15 15:57 ` Jakub Narebski
2006-12-15 16:03 ` Shawn Pearce [this message]
2006-12-15 16:53 ` [PATCH] gitweb: Do not show difftree for merges in "commit" view Jakub Narebski
2006-12-15 21:03 ` Avoiding uninteresting merges in Cairo Junio C Hamano
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=20061215160303.GG17860@spearce.org \
--to=spearce@spearce.org \
--cc=cworth@cworth.org \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.com \
/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).