summaryrefslogtreecommitdiff
path: root/lib/git/remote.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-11-03 14:28:22 +0100
committerSebastian Thiel <byronimo@gmail.com>2009-11-03 14:48:18 +0100
commitec3d91644561ef59ecdde59ddced38660923e916 (patch)
tree4e18b08cf9fcda3be762522113151dbd1063885e /lib/git/remote.py
parente70f3218e910d2b3dcb8a5ab40c65b6bd7a8e9a8 (diff)
downloadgitpython-ec3d91644561ef59ecdde59ddced38660923e916.tar.gz
Finished all push tests I could think of so far. More error cases should be studied, but they would be hard to 'produce'
Diffstat (limited to 'lib/git/remote.py')
-rw-r--r--lib/git/remote.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/git/remote.py b/lib/git/remote.py
index 482df233..1b9c5360 100644
--- a/lib/git/remote.py
+++ b/lib/git/remote.py
@@ -197,7 +197,6 @@ class PushInfo(object):
Create a new PushInfo instance as parsed from line which is expected to be like
c refs/heads/master:refs/heads/master 05d2687..1d0568e
"""
- print line
control_character, from_to, summary = line.split('\t', 3)
flags = 0
@@ -619,6 +618,10 @@ class Remote(LazyMixin, Iterable):
Returns
IterableList(FetchInfo, ...) list of FetchInfo instances providing detailed
information about the fetch results
+
+ Note
+ As fetch does not provide progress information to non-ttys, we cannot make
+ it available here unfortunately as in the 'push' method.
"""
status, stdout, stderr = self.repo.git.fetch(self, refspec, with_extended_output=True, v=True, **kwargs)
return self._get_fetch_info_from_stderr(stderr)