chiark / gitweb /
Allow export to write unapplied files as well
authorCatalin Marinas <catalin.marinas@gmail.com>
Mon, 19 May 2008 21:54:27 +0000 (22:54 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Mon, 19 May 2008 21:54:27 +0000 (22:54 +0100)
This was an artificial limit which upset many people (including me).

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
contrib/stgit-completion.bash
stgit/commands/export.py

index b3b23d497dd45f0942c5ffb2e324052d5083c8b2..8d49e218097bf17ab6c1f3a1d588c745d10c0c2b 100644 (file)
@@ -249,7 +249,7 @@ _stg ()
         # patch commands
         delete) _stg_patches $command _all_patches ;;
         edit)   _stg_patches $command _applied_patches ;;
         # patch commands
         delete) _stg_patches $command _all_patches ;;
         edit)   _stg_patches $command _applied_patches ;;
-        export) _stg_patches $command _applied_patches ;;
+        export) _stg_patches $command _all_patches ;;
         files)  _stg_patches $command _all_patches ;;
         log)    _stg_patches $command _all_patches ;;
         mail)   _stg_patches $command _all_patches ;;
         files)  _stg_patches $command _all_patches ;;
         log)    _stg_patches $command _all_patches ;;
         mail)   _stg_patches $command _all_patches ;;
index 913172914feff00911a3415c1c1e6f1b5ab4c6d5..4e5259810f9e5bae592ea66a93f26680ec587b38 100644 (file)
@@ -95,8 +95,9 @@ def func(parser, options, args):
         diff_flags = []
 
     applied = crt_series.get_applied()
         diff_flags = []
 
     applied = crt_series.get_applied()
+    unapplied = crt_series.get_unapplied()
     if len(args) != 0:
     if len(args) != 0:
-        patches = parse_patches(args, applied)
+        patches = parse_patches(args, applied + unapplied, len(applied))
     else:
         patches = applied
 
     else:
         patches = applied