fetch: exit non-zero when fast-forward check fails.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
53dc463627
commit
a9698bb22f
@ -179,6 +179,7 @@ fast_forward_local () {
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo >&2 " not updating."
|
echo >&2 " not updating."
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user