Explorar o código

Bugfix: cmd_reset could not determine the mode

Michael K %!s(int64=11) %!d(string=hai) anos
pai
achega
053ad0e08c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      bin/dulwich

+ 1 - 0
bin/dulwich

@@ -234,6 +234,7 @@ def cmd_tag(args):
 
 def cmd_reset(args):
     opts, args = getopt(args, "", ["hard", "soft", "mixed"])
+    opts = dict(opts)
     mode = ""
     if "--hard" in opts:
         mode = "hard"