summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Andy Whitcroft <apw@shadowen.org>2007-11-12 12:07:40 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-11-12 18:34:19 -0800
commit9e384b4589cfba8fa057e0e124cdd4f6cc92fc66 (patch)
treeaf559f26bdeb49b0fc017043377cd840274ac9ca
parentgit-am: -i does not take a string parameter. (diff)
downloadtgif-9e384b4589cfba8fa057e0e124cdd4f6cc92fc66.tar.xz
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 <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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xgit-quiltimport.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-quiltimport.sh b/git-quiltimport.sh
index 56c956935d..6b0c4d2f27 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