summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gbp/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git.py b/gbp/git.py
index 391dff3f..635e24c4 100644
--- a/gbp/git.py
+++ b/gbp/git.py
@@ -194,7 +194,7 @@ class GitRepository(object):
args = []
if hard:
args += [ '--hard' ]
- args += [ commit ]
+ args += [ commit, '--' ]
GitCommand("reset")(args)
def is_clean(self):