update-from-lore: stop if patch does not apply

todo
Junio C Hamano 2026-09-09 08:05:48 -07:00
parent f4c47e977d
commit 20c414f1f2
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ sed -n -e '/^Message-Id: /{
}' |
xargs -n1 b4 am -o- -T |
tee ./+b4am.mbx |
git am -s3 && rm -f ./+b4am.mbx &&
git am -s3 && rm -f ./+b4am.mbx || exit $?

git range-diff --notes=amlog --crea=999 @{-1}...
echo -n >&2 "Update [y/n]? "