git-diff A...B to (usually) mean "git-diff `git-merge-base A B` B"
[gitweb.git] / git-fetch.sh
index c0d256c98b01a5a1ddfabc7e3e081588cbfa028f..ee99280a2ab3abdcc340d66661747968a60c84ec 100755 (executable)
@@ -80,7 +80,7 @@ rref=
 rsync_slurped_objects=
 
 rloga="$rloga $remote_nick"
-test "$remote_nick" == "$remote" || rloga="$rloga $remote"
+test "$remote_nick" = "$remote" || rloga="$rloga $remote"
 
 if test "" = "$append"
 then
@@ -153,7 +153,7 @@ fast_forward_local () {
        then
                if now_=$(cat "$GIT_DIR/$1") && test "$now_" = "$2"
                then
-                       [ "$verbose" ] && echo >&2 "* $1: same as $3"
+                       [ "$verbose" ] && echo >&2 "* $1: same as $3" ||:
                else
                        echo >&2 "* $1: updating with $3"
                        git-update-ref -m "$rloga: updating tag" "$1" "$2"