X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/94227db3c3ae40343c1cbc41b5617389eb7d7c40..e4fc1f59f679b4f0b5c6805feaf9da0df2cd370f:/stgit/commands/status.py diff --git a/stgit/commands/status.py b/stgit/commands/status.py index 4283df8..b8f0623 100644 --- a/stgit/commands/status.py +++ b/stgit/commands/status.py @@ -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)