mirror of
https://github.com/git/git
synced 2024-10-28 19:25:47 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -179,6 +179,7 @@ fast_forward_local () {
|
|||
;;
|
||||
*)
|
||||
echo >&2 " not updating."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue