From: Junio C Hamano Date: Fri, 17 Mar 2006 06:04:18 +0000 (-0800) Subject: fetch: exit non-zero when fast-forward check fails. X-Git-Tag: v1.3.0-rc1~24^2 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=a9698bb22fb7b66e5882c3a5e7b2b8b53ea03f90;p=git.git fetch: exit non-zero when fast-forward check fails. Signed-off-by: Junio C Hamano --- diff --git a/git-fetch.sh b/git-fetch.sh index 0346d4a4..68356343 100755 --- a/git-fetch.sh +++ b/git-fetch.sh @@ -179,6 +179,7 @@ fast_forward_local () { ;; *) echo >&2 " not updating." + exit 1 ;; esac }