Retain multiple -q/-v occurrences in git pull
authorTuncer Ayaz <tuncer.ayaz@gmail.com>
Mon, 17 Nov 2008 22:09:30 +0000 (23:09 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Nov 2008 00:10:05 +0000 (16:10 -0800)
To support counting -q/-v options in git pull retain
them by concatenating.

Signed-off-by: Tuncer Ayaz <tuncer.ayaz@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-pull.sh

index 8866f2a1e2bda178ae87acb02037527d8f1abeab..1cac898a2443538144d45006b9adb3c0aaf2d1fa 100755 (executable)
@@ -24,9 +24,9 @@ while :
 do
        case "$1" in
        -q|--quiet)
-               verbosity=-q ;;
+               verbosity="$verbosity -q" ;;
        -v|--verbose)
-               verbosity=-v ;;
+               verbosity="$verbosity -v" ;;
        -n|--no-stat|--no-summary)
                no_stat=-n ;;
        --stat|--summary)