Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As requested in joostn/OpenJsCad#89, @kaosat-dev, @z3dev :)
Here's how it goes:
check the PR you want to backport and find out the commits you need, here:
Clone the commiters repo (the commit is obviously there), and then run format-patch:
Open your own csg.js fork, checkout a new branch from master and :
If you got an error, you'll need to fiddle with the patch by editing it. I attach the original patch and edited here: Archive.zip.
I basically removed the "-" lines that removes something that is not in the original file, then changes the line number to match the new csg structure.
There's maybe a better way for doing this, but that's the best I know.