Исправлена работа с git-1.8.5.5

master3.3 3.2.0_alpha8
Mike khiretskiy 10 years ago
parent 5f41c3103a
commit 7def49c5b3

@ -329,7 +329,6 @@ class Git:
rpath,
"status", "--porcelain", stderr=STDOUT)
if git_status.success():
return False
return not any(x.strip() for x in git_status)
else:
raise GitError(
@ -354,7 +353,7 @@ class Git:
# оригинальная ветка
'origin':'origin/master'}
"""
reStatus = re.compile("^## (\w+)(?:\.\.\.(\S+)\s+\[(ahead \d+)?"
reStatus = re.compile("^## (\w+)(?:\.\.\.(\S+))?(?:\s+\[(ahead \d+)?"
"(?:, )?(behind \d+)?\])?\n?(.*|$)", re.S)
match = reStatus.search(data)
if not match:

Loading…
Cancel
Save