@matheusbsbs / matheus-bagliano / commits / ea5aeb07e9
Fork 0

fetch: do not report "same" unless -verbose.

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Jun 3, 2006 at 23:44 UTC ea5aeb07e9ad92743eaaf216360340b70d4c3bbd
1 file changed +4 -1
git-fetch.sh
+4 -1
@@ -166,7 +166,10 @@ fast_forward_local () {
166 mb=$(git-merge-base "$local" "$2") &&
167 case "$2,$mb" in
168 $local,*)
169 - echo >&2 "* $1: same as $3"
169 + if test -n "$verbose"
170 + then
171 + echo >&2 "* $1: same as $3"
172 + fi
173 ;;
174 *,$local)
175 echo >&2 "* $1: fast forward to $3"