From a1d67c0fce086b153d846bd819f7130780cb1791 Mon Sep 17 00:00:00 2001 From: inorichi Date: Sat, 12 Dec 2015 02:35:12 +0100 Subject: [PATCH] Fix commit count command --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 85bbaa86b..42853d5db 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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" }