X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/2153b8f56dfa10936ca934a68a364dacdf161117..681f805ef4688c7ea450f5e72a15dad818809734:/stgit/commands/delete.py diff --git a/stgit/commands/delete.py b/stgit/commands/delete.py index 515f4b7..e1a70c9 100644 --- a/stgit/commands/delete.py +++ b/stgit/commands/delete.py @@ -46,7 +46,7 @@ def func(parser, options, args): all_patches = applied_patches + unapplied_patches if args: - patches = parse_patches(args, all_patches) + patches = parse_patches(args, all_patches, len(applied_patches)) else: parser.error('No patches specified')