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"
Maybe something like this?
``` for patch_file in "$@"; do jj new
done ```