Skip to content

Commit 390c2b1

Browse files
committed
Fixed backward compatibility with old git versions
1 parent 8c0a2b5 commit 390c2b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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 or (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":

updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from src.Utilities.installer import make_action
1717
from src.Utilities.installer import check_make_status
1818

19-
UPDATER_VER = "1.1.2"
19+
UPDATER_VER = "1.1.3"
2020
GIT_DOWNLOAD_PAGE = "http://git-scm.com/"
2121
VIM_DOWNLOAD_PAGE = "https://www.vim.org/download.php#pc"
2222
VIM_REPO = "https://github.com/vim/vim.git"

0 commit comments

Comments
 (0)