فهرست منبع

Fix commit count command

inorichi 9 سال پیش
والد
کامیت
a1d67c0fce
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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"
     }