git-pull: abort when fmt-merge-msg fails.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
@ -99,5 +99,5 @@ case "$strategy_args" in
|
|||||||
;;
|
;;
|
||||||
esac
|
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
|
git-merge $no_summary $no_commit $strategy_args "$merge_name" HEAD $merge_head
|
||||||
|
Reference in New Issue
Block a user