]> rtime.felk.cvut.cz Git - git.git/commitdiff
git-quiltimport.sh fix --patches handling
authorAndy Whitcroft <apw@shadowen.org>
Mon, 12 Nov 2007 12:07:40 +0000 (12:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Nov 2007 02:34:19 +0000 (18:34 -0800)
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>
git-quiltimport.sh

index 56c956935dd92680eedc9e65215bacb43a703967..6b0c4d2f279cf9e567e8c317c21e59d352ce3ff6 100755 (executable)
@@ -23,8 +23,8 @@ do
                dry_run=1
                ;;
        --patches)
-               QUILT_PATCHES="$1"
                shift
+               QUILT_PATCHES="$1"
                ;;
        --)
                shift