From b333e05cbb187dc347c9a1fd046744a0d0130852 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Mon, 17 Mar 2025 17:09:03 +0100 Subject: [PATCH] Use correct syntax for git diff --- alibuild_helpers/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alibuild_helpers/git.py b/alibuild_helpers/git.py index 80eb8e35..77c53ff0 100644 --- a/alibuild_helpers/git.py +++ b/alibuild_helpers/git.py @@ -74,7 +74,7 @@ def setWriteUrlCmd(self, url): return ["remote", "set-url", "--push", "origin", url] def diffCmd(self, directory): - return "cd %s && git diff -r HEAD && git status --porcelain" % directory + return "cd %s && git diff HEAD && git status --porcelain" % directory def checkUntracked(self, line): return line.startswith("?? ")