Remove file and commit ambiguity
authorGuido Günther <agx@sigxcpu.org>
Tue, 31 Aug 2010 08:15:41 +0000 (10:15 +0200)
committerGuido Günther <agx@sigxcpu.org>
Tue, 31 Aug 2010 08:15:41 +0000 (10:15 +0200)
gbp/git.py

index 391dff3..635e24c 100644 (file)
@@ -194,7 +194,7 @@ class GitRepository(object):
         args = []
         if hard:
             args += [ '--hard' ]
-        args += [ commit ]
+        args += [ commit, '--' ]
         GitCommand("reset")(args)
 
     def is_clean(self):