changelog.sh: shortlog with --no-merges
authorJean Privat <jean@pryen.org>
Tue, 20 Jan 2015 07:29:05 +0000 (14:29 +0700)
committerJean Privat <jean@pryen.org>
Tue, 20 Jan 2015 07:29:05 +0000 (14:29 +0700)
Signed-off-by: Jean Privat <jean@pryen.org>

src/changelog.sh

index 754f545..e162f99 100755 (executable)
@@ -27,7 +27,7 @@ git diff --shortstat "$orig".."$cur"
 echo "PR"
 git log --first-parent "$orig".."$cur" | grep 'Pull-Request: #' | wc -l
 echo "shortlog"
-git shortlog -ens "$orig".."$cur"
+git shortlog -ens --no-merges "$orig".."$cur"
 echo log
 echo
 git log --format="* %s [[!commit %h]]" --first-parent "$orig".."$cur" | tac