Browse Source

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

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 19 years ago
parent
commit
a9698bb22f
  1. 1
      git-fetch.sh

1
git-fetch.sh

@ -179,6 +179,7 @@ fast_forward_local () {
;; ;;
*) *)
echo >&2 " not updating." echo >&2 " not updating."
exit 1
;; ;;
esac esac
} }

Loading…
Cancel
Save