diff options
Diffstat (limited to 'gbp/git/repository.py')
-rw-r--r-- | gbp/git/repository.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py index c2d3baa..1c8ea9c 100644 --- a/gbp/git/repository.py +++ b/gbp/git/repository.py @@ -522,8 +522,8 @@ class GitRepository(object): if not self.has_branch(branch, remote=remote): raise GitRepositoryError("Branch %s doesn't exist!" % branch) - self._git_getoutput('branch', ["--set-upstream", local_branch, upstream]) - + self._git_inout('branch', ["--set-upstream", local_branch, upstream], + capture_stderr=True) def get_upstream_branch(self, local_branch): """ |