summaryrefslogtreecommitdiffstats
path: root/git-fetch.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-17 23:11:10 +0100
committerJunio C Hamano <junkio@cox.net>2006-03-17 23:11:10 +0100
commitd3c4519a726f1cfcb0c96ba71e4f3208b47fed88 (patch)
tree90c530f9ece2cf11e9269653f93cf8a3f858e955 /git-fetch.sh
parentMerge branch 'ew/abbrev' into next (diff)
parentfetch: exit non-zero when fast-forward check fails. (diff)
downloadgit-d3c4519a726f1cfcb0c96ba71e4f3208b47fed88.tar.xz
git-d3c4519a726f1cfcb0c96ba71e4f3208b47fed88.zip
Merge branch 'jc/fetch' into next
* jc/fetch: fetch: exit non-zero when fast-forward check fails.
Diffstat (limited to 'git-fetch.sh')
-rwxr-xr-xgit-fetch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-fetch.sh b/git-fetch.sh
index c0eb96752e..954901ddce 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -185,6 +185,7 @@ fast_forward_local () {
;;
*)
echo >&2 " not updating."
+ exit 1
;;
esac
}