File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,19 @@ update_follower () {
3434 echo ; echo " 🔄 Updating $DIR …"
3535 cd " $DIR "
3636
37+ echo ; echo " If there are custom changes needed to the patch, make the change before continuing"
38+ pause
39+
3740 # 1 · Make sure we’re on a clean, up-to-date main
3841 echo_run git switch " $MAIN_BRANCH "
3942 echo_run git fetch
4043 echo_run git pull
4144
42- # 2 · Apply the patch with 3-way fallback
43- if ! git apply --3way -- whitespace=nowarn " $PATCH_FILE " ; then
45+ # 2 · Apply the patch. Do not use 3way because commit history is not in common
46+ if ! git apply --whitespace=nowarn " $PATCH_FILE " ; then
4447 echo " ‼️ Some hunks could not be merged automatically."
48+ echo ; echo " Use a different terminal to fix files before continuing"
49+ pause
4550 fi
4651
4752 # 3 · Pause if any conflict markers remain
You can’t perform that action at this time.
0 commit comments