mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-17 08:39:43 +02:00
Fix commit count command
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user