From ea5aeb07e9ad92743eaaf216360340b70d4c3bbd Mon Sep 17 00:00:00 2001
From: Junio C Hamano <junkio@cox.net>
Date: Sat, 3 Jun 2006 23:44:40 -0700
Subject: [PATCH] fetch: do not report "same" unless -verbose.

Signed-off-by: Junio C Hamano <junkio@cox.net>
---
 git-fetch.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/git-fetch.sh b/git-fetch.sh
index 69bd810082..48818f8224 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"