X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/7829d19d9aa7468f65b98d1cc1bd76389346b594..b4f656f00412360441dfe7e41c9733a9ca547015:/stgit/commands/mail.py diff --git a/stgit/commands/mail.py b/stgit/commands/mail.py index 5d71657..fe44bc9 100644 --- a/stgit/commands/mail.py +++ b/stgit/commands/mail.py @@ -480,7 +480,8 @@ def func(parser, options, args): if options.all: patches = applied elif len(args) >= 1: - patches = parse_patches(args, applied) + unapplied = crt_series.get_unapplied() + patches = parse_patches(args, applied + unapplied, len(applied)) else: raise CmdException, 'Incorrect options. Unknown patches to send'