summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
authorsroet <sanderroet@hotmail.com>2021-09-13 17:59:24 +0200
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-09-18 09:26:28 +0800
commit0a58afea0d7c3ff57916ddd694d052123e29087f (patch)
tree37583419481271e967928c903d163b88af8428bc /git/remote.py
parentef0ca654f859d6caaf2a2029cb691d5beec79ed5 (diff)
downloadgitpython-0a58afea0d7c3ff57916ddd694d052123e29087f.tar.gz
update tests and add a comment about different behaviour of 'push' vs 'fetch'
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/git/remote.py b/git/remote.py
index bfa4db59..9917c431 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -795,6 +795,8 @@ class Remote(LazyMixin, IterableObj):
try:
proc.wait(stderr=stderr_text)
except Exception:
+ # This is different than fetch (which fails if there is any std_err
+ # even if there is an output)
if not output:
raise
elif stderr_text: