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

fetch: exit non-zero when fast-forward check fails.

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

Junio C Hamano committed Mar 16, 2006 at 22:04 UTC a9698bb22fb7b66e5882c3a5e7b2b8b53ea03f90
1 file changed +1
git-fetch.sh
+1
@@ -179,6 +179,7 @@ fast_forward_local () {
179 ;;
180 *)
181 echo >&2 " not updating."
182 + exit 1
183 ;;
184 esac
185 }