Author: Kyle Fuller <kyle@mentallyfriendly.com> 2013-04-17 14:17:59 +0100 +0100
Committer: Kyle Fuller <kyle@mentallyfriendly.com> 2013-04-17 14:17:59 +0100 +0100
Commit: 3b5b9fc1c30f40355bd602632655cbf3b071a65a
Parent: acb402ca4fc17952c45f0ddc1661e535a3a58bfe
Show amount of changes in changelog
diff --git a/.rc b/.rc
index b8bd7b1557129e4c9b0c7bfdd04d32b63234f12e..7e87361546109f69dddd36c83514ff7d2848636c 100644
--- a/.rc
+++ b/.rc
@@ -55,6 +55,7 @@ echo "$(git describe --tags --always --dirty) ($((COMMITS)))"
}
changelog() {
- git shortlog --no-merges $1..master | pbcopy
- echo "Release notes for $(version) are in your clipboard"
+ git shortlog --no-merges $1..HEAD | pbcopy
+ changes=$(git rev-list $1..HEAD | wc -l)
+ echo "Release notes for $(version) are in your clipboard, $((changes)) changes"
}