summaryrefslogtreecommitdiff
path: root/git-checkout-script
diff options
context:
space:
mode:
Diffstat (limited to 'git-checkout-script')
-rwxr-xr-xgit-checkout-script2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-checkout-script b/git-checkout-script
index a377407..9feff14 100755
--- a/git-checkout-script
+++ b/git-checkout-script
@@ -72,4 +72,6 @@ if [ "$?" -eq 0 ]; then
fi
[ "$branch" ] && ln -sf "refs/heads/$branch" "$GIT_DIR/HEAD"
rm -f "$GIT_DIR/MERGE_HEAD"
+else
+ exit 1
fi