From 8e314b581a9b88881844bc4f1df06d84163d5ec2 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Fri, 13 Dec 2024 03:35:48 +0100 Subject: [PATCH] contrib/jj-am.sh: fix order of commit creation and patching Signed-off-by: Tim Janik --- contrib/jj-am.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/jj-am.sh b/contrib/jj-am.sh index 8fb73dd..f36483c 100755 --- a/contrib/jj-am.sh +++ b/contrib/jj-am.sh @@ -42,10 +42,10 @@ jj_commit() --config-toml "user.email=\"$EMAIL\"" --message="$SUBJECT$NL$BODY" ) + # create commit + jj new "${ARGS[@]}" # try patch patch -p1 < "$PATCH" - # apply - jj new "${ARGS[@]}" ) # == Process ==