Skip to content

Commit

Permalink
jj-fzf: squash-into-parent: fix comment
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 19, 2024
1 parent 9dba87a commit fe20c7d
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 @@ -1082,8 +1082,8 @@ squash-into-parent()
# Squashing without --keep-emptied would start a new branch at @- which is
# undesired if @+ exists. But using --keep-emptied does not squash the
# message. As a workaround, create a new @+, so we never squash directly
# from @. This new working copy will receive any children, merge parents
# and bookmarks from the original squashed working copy.
# from @. This new working copy will receive any children from the original
# squashed working copy.
( set -x
jj new --insert-after @
jj squash --from "$W" --into "$W-"
Expand Down

0 comments on commit fe20c7d

Please sign in to comment.