From 8038a46e77b557ed234a0cfcb3c6109190d1b2c2 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 7 Nov 2011 17:37:54 +0100 Subject: GitRepository: fetch and pull quietly --- gbp/git.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gbp') diff --git a/gbp/git.py b/gbp/git.py index 95876f9..66aec40 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 [] -- cgit v1.2.3