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>
This commit is contained in:

committed by
Junio C Hamano

parent
f067a13745
commit
bbe60241ae
@ -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, $_;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user