Meta/update-from-lore: go interactive at the end to save typing

todo
Junio C Hamano 2026-08-31 11:33:13 -07:00
parent 144b7194d1
commit 4ea7e05419
1 changed files with 13 additions and 0 deletions

View File

@ -75,3 +75,16 @@ tee ./+b4am.mbx |
git am -s3 && rm -f ./+b4am.mbx && git am -s3 && rm -f ./+b4am.mbx &&


git range-diff --notes=amlog --crea=999 @{-1}... git range-diff --notes=amlog --crea=999 @{-1}...
echo -n >&2 "Update [y/n]? "
while read yesno
do
case "$yesno" in
[Yy]*)
git co -B @{-1}
exit 0
;;
[Nn]*)
exit 1
;;
esac
done