git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
TATuncer Ayaz <tuncer.ayaz@gmail.com>
Date
Nov 17, 2008, 22:10 UTC
Message-ID
<1226959850-4329-1-git-send-email-tuncer.ayaz@gmail.com>

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(-)
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
Message 1 of 1 in “Retain multiple -q/-v occurrences in git pull”
  1. Retain multiple -q/-v occurrences in git pullTuncer Ayaz, Nov 17, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.