From: Junio C Hamano Date: Sun, 4 Jun 2006 06:44:40 +0000 (-0700) Subject: fetch: do not report "same" unless -verbose. X-Git-Tag: v1.4.0-rc1~17 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=ea5aeb07e9ad92743eaaf216360340b70d4c3bbd;p=git.git fetch: do not report "same" unless -verbose. Signed-off-by: Junio C Hamano --- diff --git a/git-fetch.sh b/git-fetch.sh index 69bd81008..48818f822 100755 --- a/git-fetch.sh +++ b/git-fetch.sh @@ -166,7 +166,10 @@ fast_forward_local () { mb=$(git-merge-base "$local" "$2") && case "$2,$mb" in $local,*) - echo >&2 "* $1: same as $3" + if test -n "$verbose" + then + echo >&2 "* $1: same as $3" + fi ;; *,$local) echo >&2 "* $1: fast forward to $3"