aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-11-07 17:37:54 +0100
committerGuido Günther <agx@sigxcpu.org>2011-11-07 17:39:13 +0100
commit8038a46e77b557ed234a0cfcb3c6109190d1b2c2 (patch)
tree03d75bf9f869ea918000d59ecca68d883483279e
parent47f50cd2225f11274f12c59e896413d0279176fe (diff)
GitRepository: fetch and pull quietly
-rw-r--r--gbp/git.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gbp/git.py b/gbp/git.py
index 95876f9b..66aec401 100644
--- a/gbp/git.py
+++ b/gbp/git.py
@@ -750,7 +750,8 @@ class GitRepository(object):
@param repo: repository to fetch from
@type repo: C{str}
"""
- args = [repo] if repo else []
+ args = [ '--quiet' ]
+ args += [repo] if repo else []
self._git_command("fetch", args)
@@ -1222,7 +1223,8 @@ class GitRepository(object):
@rtype: L{GitRepository}
"""
abspath = os.path.abspath(path)
- args = [ '--depth', depth ] if depth else []
+ args = [ '--quiet' ]
+ args += [ '--depth', depth ] if depth else []
args += [ '--recursive' ] if recursive else []
args += [ '--mirror' ] if mirror else []
args += [ '--bare' ] if bare else []