Browse Source

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

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 19 years ago
parent
commit
ea5aeb07e9
  1. 5
      git-fetch.sh

5
git-fetch.sh

@ -166,7 +166,10 @@ fast_forward_local () { @@ -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"

Loading…
Cancel
Save