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 e01fbf1a8f
    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>
This commit is contained in:
Andy Whitcroft 2007-11-12 12:07:40 +00:00 committed by Junio C Hamano
parent 66006c63e7
commit 9e384b4589

View File

@ -23,8 +23,8 @@ do
dry_run=1
;;
--patches)
QUILT_PATCHES="$1"
shift
QUILT_PATCHES="$1"
;;
--)
shift