mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:07:45 +00:00
Ports: Don't mangle patches when requiring manual edits
While at it, pass the `--3way` option to give the user something to work with. Otherwise, Git will just prepare the commit metadata and nothing else. Note that this has a relatively low chance of working, since the recorded blob hashes aren't known to a freshly imported repository.
This commit is contained in:
parent
ce5a939148
commit
fb049d6913
1 changed files with 1 additions and 1 deletions
|
@ -836,7 +836,7 @@ do_dev() {
|
|||
else
|
||||
# The patch didn't apply, oh no!
|
||||
# Ask the user to figure it out :shrug:
|
||||
git am "$patch" || true
|
||||
git am --keep-cr --keep-non-patch --3way "$patch" || true
|
||||
>&2 echo "- This patch does not apply, you'll be dropped into a shell to investigate and fix this, quit the shell when the problem is resolved."
|
||||
>&2 echo "Note that the patch needs to be committed into the current repository!"
|
||||
launch_user_shell
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue