[PATCH] stgit: export without --range does not export the last patch

From: Bryan Larsen <bryanlarsen@yahoo.com>
Date: 2005-07-14 16:27:56
The top patch is never exported.

Signed-off-by: Bryan Larsen <bryan.larsen@gmail.com>
---

 stgit/commands/export.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/stgit/commands/export.py b/stgit/commands/export.py
--- 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]
 
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Jul 14 16:28:06 2005

This archive was generated by hypermail 2.1.8 : 2005-07-14 16:28:07 EST