提交 86378b32 编写于 作者: J Junio C Hamano

git-pull: abort when fmt-merge-msg fails.

Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 bc1f262d
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册