summaryrefslogtreecommitdiff
path: root/git-pull.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-24 08:10:27 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-06-24 08:10:27 (GMT)
commit86378b32895ee5d788491b8407608a54e5cf064c (patch)
tree673086ad557809bdc6b3811b0db89ebf56df3ba8 /git-pull.sh
parentbc1f262d67cbe1c736c5dca911f6f085f47ac9bb (diff)
downloadgit-86378b32895ee5d788491b8407608a54e5cf064c.zip
git-86378b32895ee5d788491b8407608a54e5cf064c.tar.gz
git-86378b32895ee5d788491b8407608a54e5cf064c.tar.bz2
git-pull: abort when fmt-merge-msg fails.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-pull.sh')
-rwxr-xr-xgit-pull.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-pull.sh b/git-pull.sh
index 4611ae6..bdd3939 100755
--- a/git-pull.sh
+++ b/git-pull.sh
@@ -99,5 +99,5 @@ case "$strategy_args" in
;;
esac
-merge_name=$(git-fmt-merge-msg <"$GIT_DIR/FETCH_HEAD")
+merge_name=$(git-fmt-merge-msg <"$GIT_DIR/FETCH_HEAD") || exit
git-merge $no_summary $no_commit $strategy_args "$merge_name" HEAD $merge_head