Fix commit count command

This commit is contained in:
inorichi 2015-12-12 02:35:12 +01:00
parent 9c0abdeb81
commit a1d67c0fce

View file

@ -13,7 +13,7 @@ ext {
// Git is needed in your system PATH for these commands to work.
// If it's not installed, you can return a random value as a workaround
getCommitCount = {
return "git rev-list --count master".execute().text.trim()
return 'git rev-list --count origin/master'.execute().text.trim()
// return "1"
}