Allow 'show' to display many patches
[stgit] / stgit / commands / status.py
index 4283df8..b8f0623 100644 (file)
@@ -67,7 +67,13 @@ def func(parser, options, args):
     """Show the tree status
     """
     if options.reset:
-        git.reset()
+        if args:
+            for f in args:
+                resolved(f)
+            git.reset(args)
+        else:
+            resolved_all()
+            git.reset()
     else:
         git.status(args, options.modified, options.new, options.deleted,
                    options.conflict, options.unknown, options.noexclude)