threads / patch / 10826

patchgit-quiltimport.sh fix --patches handling

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

## tl;dr

One message between Nov 12, 2007 and Nov 12, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Andy Whitcroft· Nov 12, 2007, 12:07 UTC · lore

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 <madcoder@debian.org>
    Date:   Sun Nov 4 11:31:01 2007 +0100
        Migrate git-quiltimport.sh to use git-rev-parse --parseopt
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
---
 git-quiltimport.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to git-quiltimport.sh +1 −1
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

← back to recent threads