mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-03 12:26:23 -05:00
fetch: exit non-zero when fast-forward check fails.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
@@ -179,6 +179,7 @@ fast_forward_local () {
|
||||
;;
|
||||
*)
|
||||
echo >&2 " not updating."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user