From: Bryan Larsen Date: Thu, 14 Jul 2005 09:48:51 +0000 (+0100) Subject: The top patch is never exported. X-Git-Tag: v0.5~24 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/b054c8bd5293f4b905460321a5c0e620b2232296?ds=inline The top patch is never exported. Signed-off-by: Bryan Larsen --- diff --git a/stgit/commands/export.py b/stgit/commands/export.py index 3021dbe..425d84a 100644 --- a/stgit/commands/export.py +++ b/stgit/commands/export.py @@ -90,7 +90,7 @@ def func(parser, options, args): raise MainException, 'Incorrect patch range order' else: start_idx = 0 - stop_idx = -1 + stop_idx = len(applied) patches = applied[start_idx:stop_idx]