Hacker News new | past | comments | ask | show | jobs | submit login

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 ```



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: