Skip to content

Commit c6576f9

Browse files
Tuncer Ayazgitster
authored andcommitted
Retain multiple -q/-v occurrences in git pull
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>
1 parent 7f87aff commit c6576f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git-pull.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ while :
2424
do
2525
case "$1" in
2626
-q|--quiet)
27-
verbosity=-q ;;
27+
verbosity="$verbosity -q" ;;
2828
-v|--verbose)
29-
verbosity=-v ;;
29+
verbosity="$verbosity -v" ;;
3030
-n|--no-stat|--no-summary)
3131
no_stat=-n ;;
3232
--stat|--summary)

0 commit comments

Comments
 (0)