git-fmt-merge-msg cleanup
authorLinus Torvalds <torvalds@osdl.org>
Thu, 9 Mar 2006 01:56:07 +0000 (17:56 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 9 Mar 2006 02:27:15 +0000 (18:27 -0800)
Since I've started using the "merge.summary" flag in my repo, my merge
messages look nicer, but I dislike how I get notifications of merges
within merges.

So I'd suggest this trivial change..

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fmt-merge-msg.perl

index dae383f..afe80e6 100755 (executable)
@@ -47,7 +47,7 @@ sub current_branch {
 sub shortlog {
        my ($tip) = @_;
        my @result;
-       foreach ( qx{git-log --topo-order --pretty=oneline $tip ^HEAD} ) {
+       foreach ( qx{git-log --no-merges --topo-order --pretty=oneline $tip ^HEAD} ) {
                s/^[0-9a-f]{40}\s+//;
                push @result, $_;
        }