Skip to content

Commit

Permalink
fetch: exit non-zero when fast-forward check fails.
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Mar 17, 2006
1 parent 53dc463 commit a9698bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ fast_forward_local () {
;;
*)
echo >&2 " not updating."
exit 1
;;
esac
}
Expand Down

0 comments on commit a9698bb

Please sign in to comment.