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