Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: [PATCH] Teach/Fix pull/fetch -q/-v options

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:40

"Tuncer Ayaz" [off-list ref] writes:
I think you need to have something like the following applied on top of
what's in pu to be able to use "pull -v -v -v" and be able to count the
occurrences via parse-options.c. What do you think?
Makes sense, except that as a futureproofing we may be better off doing
the same for -q as well.
quoted hunk
--- git-pull.sh 2008-11-17 11:32:19.000000000 +0100
+++ git-pull.sh.b       2008-11-17 11:33:03.000000000 +0100
@@ -26,7 +26,7 @@
        -q|--quiet)
                verbosity=-q ;;
        -v|--verbose)
-               verbosity=-v ;;
+               verbosity="$verbosity -v" ;;
        -n|--no-stat|--no-summary)
                no_stat=-n ;;
        --stat|--summary)
Signed-off-by: Tuncer Ayaz <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help