Skip to content

Commit

Permalink
jj-fzf: commit: --message fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Janik <[email protected]>
  • Loading branch information
tim-janik committed Dec 21, 2024
1 parent 1e0f947 commit eb77b16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jj-fzf
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ commit()
test "$O" != "$MSG" ||
ERROR "Commit cancelled by user"
( set -x
jj commit -m "$MSG"
jj commit --message="$MSG"
) || sleep 1
else # R is not @, may be immutable
[[ $IMMU =~ ^true ]] || {
Expand All @@ -576,7 +576,7 @@ commit()
ERROR "Commit cancelled by user"
test "$O" != "$MSG" &&
( set -x
jj describe --no-edit -r "$R" -m "$MSG"
jj describe --no-edit -r "$R" --message="$MSG"
) || sleep 1
}
# open new empty working copy commit
Expand Down

0 comments on commit eb77b16

Please sign in to comment.