From 2ab0dd093a88d5c129e4f8676729cbaf27f0471b Mon Sep 17 00:00:00 2001 From: PizzaCrust Date: Mon, 15 May 2017 19:50:56 +0700 Subject: [PATCH] Fix version signature computation On Windows, and other versions of git (presumably) --porcelain does not take parameters. I assume =1 means to activate the parameter, and the standard --porcelain does this. --- utils.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.gradle b/utils.gradle index 798c6e3..5bfcdc1 100644 --- a/utils.gradle +++ b/utils.gradle @@ -6,7 +6,7 @@ static String rawComputeVersionSignature(String version) { def versionBase = version.replace("-SNAPSHOT", "") // Determine the current git commit // Determine if there are uncommitted changes - def prog = "git status --porcelain=1".execute() + def prog = "git status --porcelain".execute() def isClean = prog.text.allWhitespace assert prog.waitFor() == 0, "Failed to execute git status!" /*