Skip to contentSkip to conversation

git-quiltimport.sh fix --patches handling

PATCH New Andy Whitcroft 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-quiltimport.sh fix --patches handling

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 <[email protected]>
    Date:   Sun Nov 4 11:31:01 2007 +0100

        Migrate git-quiltimport.sh to use git-rev-parse --parseopt
---
 git-quiltimport.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
git-quiltimport.sh +1 -1
index 56c9569..6b0c4d2 100755
@@ -23,8 +23,8 @@ do
 		dry_run=1
 		;;
 	--patches)
-		QUILT_PATCHES="$1"
 		shift
+		QUILT_PATCHES="$1"
 		;;
 	--)
 		shift