Skip to content

Commit 9adc25c

Browse files
committed
Fixed always out-to-date state at git push
1 parent 348a4d0 commit 9adc25c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utilities/git_utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def check_git_on_device():
1111
def git_action(*args):
1212
if len(args) == 2 and args[0] == "pull":
1313
pull_proc_out = check_output(["git", args[0]], cwd=args[1])
14-
if (pull_proc_out.decode('utf-8')).count("Already up to date.") == 1:
14+
if (pull_proc_out.decode('utf-8')).count("Already up-to-date.") == 1:
1515
return True
1616

1717
elif len(args) == 3 and args[0] == "clone":

0 commit comments

Comments
 (0)