Skip to content

Commit b333e05

Browse files
ktfsingiamtel
authored andcommitted
Use correct syntax for git diff
1 parent 6e77237 commit b333e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alibuild_helpers/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def setWriteUrlCmd(self, url):
7474
return ["remote", "set-url", "--push", "origin", url]
7575

7676
def diffCmd(self, directory):
77-
return "cd %s && git diff -r HEAD && git status --porcelain" % directory
77+
return "cd %s && git diff HEAD && git status --porcelain" % directory
7878

7979
def checkUntracked(self, line):
8080
return line.startswith("?? ")

0 commit comments

Comments
 (0)