Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-17 09:04:18 +0300
committerJunio C Hamano <junkio@cox.net>2006-03-18 01:10:36 +0300
commita9698bb22fb7b66e5882c3a5e7b2b8b53ea03f90 (patch)
tree4b3ffd541a963097760702c437a4c02e21dd9508 /git-fetch.sh
parent53dc4636275c966bb0781709fd0dded1cced4458 (diff)
fetch: exit non-zero when fast-forward check fails.
Signed-off-by: Junio C Hamano <junkio@cox.net>
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 0346d4a45c..68356343a6 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -179,6 +179,7 @@ fast_forward_local () {
;;
*)
echo >&2 " not updating."
+ exit 1
;;
esac
}