Browse Source

git-fmt-merge-msg cleanup

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>
maint
Linus Torvalds 19 years ago committed by Junio C Hamano
parent
commit
bbe60241ae
  1. 2
      git-fmt-merge-msg.perl

2
git-fmt-merge-msg.perl

@ -47,7 +47,7 @@ sub current_branch {
sub shortlog { sub shortlog {
my ($tip) = @_; my ($tip) = @_;
my @result; 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+//; s/^[0-9a-f]{40}\s+//;
push @result, $_; push @result, $_;
} }

Loading…
Cancel
Save