mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Update cherry_pick_pull.sh
This commit is contained in:
parent
b38f355726
commit
23f7594946
@ -180,7 +180,7 @@ for pull in "${PULLS[@]}"; do
|
|||||||
(git status --porcelain | grep ^U) || echo "!!! None. Did you git am --continue?"
|
(git status --porcelain | grep ^U) || echo "!!! None. Did you git am --continue?"
|
||||||
echo
|
echo
|
||||||
echo "+++ Please resolve the conflicts in another window (and remember to 'git add / git am --continue')"
|
echo "+++ Please resolve the conflicts in another window (and remember to 'git add / git am --continue')"
|
||||||
read -p "+++ Proceed (anything but 'y' aborts the cherry-pick)? [y/n] " -r
|
read -p "+++ Proceed (anything other than 'y' aborts the cherry-pick)? [y/n] " -r
|
||||||
echo
|
echo
|
||||||
if ! [[ "${REPLY}" =~ ^[yY]$ ]]; then
|
if ! [[ "${REPLY}" =~ ^[yY]$ ]]; then
|
||||||
echo "Aborting." >&2
|
echo "Aborting." >&2
|
||||||
@ -247,7 +247,7 @@ echo "+++ I'm about to do the following to push to GitHub (and I'm assuming ${FO
|
|||||||
echo
|
echo
|
||||||
echo " git push ${FORK_REMOTE} ${NEWBRANCHUNIQ}:${NEWBRANCH}"
|
echo " git push ${FORK_REMOTE} ${NEWBRANCHUNIQ}:${NEWBRANCH}"
|
||||||
echo
|
echo
|
||||||
read -p "+++ Proceed (anything but 'y' aborts the cherry-pick)? [y/n] " -r
|
read -p "+++ Proceed (anything other than 'y' aborts the cherry-pick)? [y/n] " -r
|
||||||
if ! [[ "${REPLY}" =~ ^[yY]$ ]]; then
|
if ! [[ "${REPLY}" =~ ^[yY]$ ]]; then
|
||||||
echo "Aborting." >&2
|
echo "Aborting." >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user