changelog.sh: also count commits
[nit.git] / src / changelog.sh
index e162f99..e85393d 100755 (executable)
@@ -26,6 +26,8 @@ echo "shortstat"
 git diff --shortstat "$orig".."$cur"
 echo "PR"
 git log --first-parent "$orig".."$cur" | grep 'Pull-Request: #' | wc -l
+echo "non-merge commits"
+git log --no-merges --oneline "$orig".."$cur"  | wc -l
 echo "shortlog"
 git shortlog -ens --no-merges "$orig".."$cur"
 echo log