X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/3c3e0344d3b9f2626a31105f9f794142ed4a8dfa..9e3f506f0d0e1b0c09d1e9d7051af23bfede7834:/stgit/commands/status.py diff --git a/stgit/commands/status.py b/stgit/commands/status.py index bd3edfb..b8f0623 100644 --- a/stgit/commands/status.py +++ b/stgit/commands/status.py @@ -67,8 +67,13 @@ def func(parser, options, args): """Show the tree status """ if options.reset: - resolved_all() - 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)