3 ms·
There's no succinct command designed to work with mailed patches yet, but you could mimic it with a little scripting. Maybe something like this? ``` for patch
by KingMob 2y ago
There's no succinct command designed to work with mailed patches yet, but you could mimic it with a little scripting.
Maybe something like this?
```
for patch_file in "$@"; do
jj new
patch -p1 < "$patch_file"
author=$(extract_author "$patch_file")
commit_message=$(extract_commit_message "$patch_file")
jj describe -m "$commit_message" --author "$author"
done
```