From 0a58afea0d7c3ff57916ddd694d052123e29087f Mon Sep 17 00:00:00 2001 From: sroet Date: Mon, 13 Sep 2021 17:59:24 +0200 Subject: update tests and add a comment about different behaviour of 'push' vs 'fetch' --- git/remote.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'git/remote.py') 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: -- cgit v1.2.1