diff options
author | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-07-20 18:16:08 +0800 |
---|---|---|
committer | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-07-20 18:16:08 +0800 |
commit | b50b96032094631d395523a379e7f42a58fe8168 (patch) | |
tree | 7b6608753801c576014a6b5de396230a4ec2bb5b /git/util.py | |
parent | 9b628dccf4102d2a63c6fc8cd957ab1293bafbc6 (diff) | |
download | gitpython-b50b96032094631d395523a379e7f42a58fe8168.tar.gz |
Revert "Revert "Revert "Implement update call when the object is "up to date" #871"""
This reverts commit 9b628dccf4102d2a63c6fc8cd957ab1293bafbc6.
Definitely doesn't work
https://travis-ci.org/gitpython-developers/GitPython/builds/561361507
Diffstat (limited to 'git/util.py')
-rw-r--r-- | git/util.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/git/util.py b/git/util.py index b0fdc79f..3ba58857 100644 --- a/git/util.py +++ b/git/util.py @@ -390,21 +390,6 @@ class RemoteProgress(object): if len(self.error_lines) > 0 or self._cur_line.startswith(('error:', 'fatal:')): self.error_lines.append(self._cur_line) return [] - elif 'up to date' in self._cur_line: - # Checking this way instead of startswith, because debugging for - # startswith(' = [up to date]') is going to be a major pain if just - # a single space or bracket changes. - - # Strip the initial ' = [up to date]' from the line - message_string = line.split('date]', 1)[-1] - - # Trim whitespace - message_string = ' '.join(message_string.split()) - - self.update(0, - 1, - 1, - message_string) sub_lines = line.split('\r') failed_lines = [] |