summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2010-08-31 10:15:41 +0200
committerGuido Günther <agx@sigxcpu.org>2010-08-31 10:15:41 +0200
commitb1bd41757d54b8766368580d352e7aecb5d3a409 (patch)
tree84fa888539c2a5389606b177d19ea7d82eec344e
parent3262621bac0d06482d78d3a9c288c04f3627e341 (diff)
downloadgit-buildpackage-b1bd41757d54b8766368580d352e7aecb5d3a409.tar.gz
git-buildpackage-b1bd41757d54b8766368580d352e7aecb5d3a409.tar.bz2
git-buildpackage-b1bd41757d54b8766368580d352e7aecb5d3a409.zip
Remove file and commit ambiguity
-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):