aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-01-22 15:25:00 +0100
committerGuido Günther <agx@sigxcpu.org>2011-01-22 15:26:47 +0100
commit9054ae10dcde5070959d1c104e98afdb1c7e45cd (patch)
tree4b5b2117acf73b8f8a408c7d2d075776cfcbbd9e
parente1661bd8288924f532c67c282d5d728042c65c44 (diff)
git.force_head: quiet git reset
so we don't see pointless 'HEAD is now at ...' messages during imports.
-rw-r--r--gbp/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git.py b/gbp/git.py
index 9fac3ba..8b7f17e 100644
--- a/gbp/git.py
+++ b/gbp/git.py
@@ -207,7 +207,7 @@ class GitRepository(object):
def force_head(self, commit, hard=False):
"""force head to a specific commit"""
- args = []
+ args = ['--quiet']
if hard:
args += [ '--hard' ]
args += [ commit, '--' ]