projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1661bd
)
git.force_head: quiet git reset
author
Guido Günther
<agx@sigxcpu.org>
Sat, 22 Jan 2011 14:25:00 +0000
(15:25 +0100)
committer
Guido Günther
<agx@sigxcpu.org>
Sat, 22 Jan 2011 14:26:47 +0000
(15:26 +0100)
so we don't see pointless 'HEAD is now at ...' messages during imports.
gbp/git.py
patch
|
blob
|
history
diff --git
a/gbp/git.py
b/gbp/git.py
index
9fac3ba
..
8b7f17e
100644
(file)
--- 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, '--' ]