From 6ddb5db57bd21c2bcb3a5b503cab5f1d67d8e887 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Sun, 23 May 2021 18:22:35 +0430 Subject: [PATCH] use HEAD for counting commits --- server/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/build.gradle.kts b/server/build.gradle.kts index c1092ee..23f41b6 100644 --- a/server/build.gradle.kts +++ b/server/build.gradle.kts @@ -91,7 +91,7 @@ val tachideskVersion = "v0.3.8" // counts commit count on master val tachideskRevision = Runtime .getRuntime() - .exec("git rev-list master --count") + .exec("git rev-list HEAD --count") .let { process -> process.waitFor() val output = process.inputStream.use {