Explorar o código

Fix commit count command

inorichi %!s(int64=9) %!d(string=hai) anos
pai
achega
a1d67c0fce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/build.gradle

+ 1 - 1
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"
     }