DORMANTno replies

[PATCH] git-quiltimport.sh fix --patches handling

From: Andy Whitcroft <hidden>
Date: 2016-06-15 22:43:50
Subsystem: the rest · Maintainer: Linus Torvalds

When converting git-quiltimport.sh to the new git-rev-part --parseopt
system, the handling of --patches was broken.  We inadvertantly always
attempt to use '--patches' as the value.

This was introduced in the following commit:

    commit e01fbf1a8f185bf6722e828286862a4122269ef7
    Author: Pierre Habouzit [off-list ref]
    Date:   Sun Nov 4 11:31:01 2007 +0100

        Migrate git-quiltimport.sh to use git-rev-parse --parseopt

Signed-off-by: Andy Whitcroft <redacted>
---
 git-quiltimport.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-quiltimport.sh b/git-quiltimport.sh
index 56c9569..6b0c4d2 100755
--- a/git-quiltimport.sh
+++ b/git-quiltimport.sh
@@ -23,8 +23,8 @@ do
 		dry_run=1
 		;;
 	--patches)
-		QUILT_PATCHES="$1"
 		shift
+		QUILT_PATCHES="$1"
 		;;
 	--)
 		shift
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help