diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-11-07 17:37:54 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-11-07 17:39:13 +0100 |
commit | 8038a46e77b557ed234a0cfcb3c6109190d1b2c2 (patch) | |
tree | 03d75bf9f869ea918000d59ecca68d883483279e | |
parent | 47f50cd2225f11274f12c59e896413d0279176fe (diff) |
GitRepository: fetch and pull quietly
-rw-r--r-- | gbp/git.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 [] |