From de35c01f120c636ebac5658ea12dcd366f2ec83f Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Tue, 3 Jun 2025 15:12:26 +0200 Subject: [PATCH] Use correct syntax for git diff (#915) --- bits_helpers/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bits_helpers/git.py b/bits_helpers/git.py index 5ce6ea10..c0e86765 100644 --- a/bits_helpers/git.py +++ b/bits_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("?? ")