X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-fetch.sh;h=48818f822451b3d69e7cd90e81e34bf137ead4dd;hb=7612a1efdb0c0806b43db10ce784707aae874340;hp=69bd810082655a6ee7594e86a6e8e28e3e5a43e2;hpb=878ccb26941a15312b6676372e4688d42a73882b;p=git.git diff --git a/git-fetch.sh b/git-fetch.sh index 69bd8100..48818f82 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"