threads / patch / 16373

patchRetain multiple -q/-v occurrences in git pull

Subject: [PATCH] Retain multiple -q/-v occurrences in git pull

## tl;dr

One message between Nov 17, 2008 and Nov 17, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Tuncer Ayaz· Nov 17, 2008, 22:10 UTC · lore

To support counting -q/-v options in git pull retain them by concatenating.

Signed-off-by: Tuncer Ayaz <tuncer.ayaz@gmail.com>
---
 git-pull.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Show changes to git-pull.sh +2 −2
diff --git a/git-pull.sh b/git-pull.sh
index 8866f2a..1cac898 100755
--- a/git-pull.sh
+++ b/git-pull.sh
@@ -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)
-- 
1.6.0.2.GIT

← back to recent threads