Skip to content

Commit

Permalink
More feature patches
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytv committed Dec 16, 2024
1 parent 6a0c3c3 commit ff1c3c0
Show file tree
Hide file tree
Showing 4 changed files with 206 additions and 235 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,14 @@ move it under the line of the patch you wish to modify;

1. Make your change while at HEAD;
1. Make a fixup commit. `git commit -a --fixup <hashOfPatchToFix>`;
- If you want to modify a per-file patch, use `git commit -a --fixup file`
- You can also use `--squash` instead of `--fixup` if you want the commit
message to also be changed.
- You can get the hash by looking at `git log` or `git blame`; your IDE can
assist you too.
- Alternatively, if you only know the name of the patch, you can do
`git commit -a --fixup "Subject of Patch name"`.
1. Rebase with autosquash: `git rebase -i --autosquash base`.
1. Rebase with autosquash: `git rebase -i --autosquash mache/main`.
This will automatically move your fixup commit to the right place, and you just
need to "save" the changes.
1. Type `./gradlew rebuildPatches` in the root directory;
Expand Down
Loading

0 comments on commit ff1c3c0

Please sign in to comment.