-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file deletion ignored by jj split
#3702
Comments
I'm able to reproduce this with # config.toml
# Install scm-diff-editor binary:
# cargo install --git https://github.com/arxanas/scm-record.git --features scm-diff-editor
[ui]
# diff-editor = ":builtin"
diff-editor = "scm-diff-editor"
[merge-tools.scm-diff-editor]
program = "/path/to/scm-diff-editor"
edit-args = ["--dir-diff", "$left", "$right"] |
That's good to know. That means the problem is probably somewhere in cli/src/merge_tools/builtin.rs, in case anyone has time to take a look. |
the code at |
Possibly related to #3526. I missunderstood that one and am actually experiencing the issue describe in here. I could imagine that they are related though. |
Description
jj split
andjj squash -i
both appear to ignore selected file deletions. This appears to be limited to the default editor (could not reproduce with--tool meld
). They are shown in the diff editor but do not end up in the chosen commit.Steps to Reproduce the Problem
mv foo bar
jj split
jj show @-
jj show @
Expected Behavior
the first commit contains a file addition (bar) and a file deletion (foo)
the second commit is empty
Actual Behavior
the first commit contains a file addition (bar)
the second commit contains a file deletion (foo)
Specifications
The text was updated successfully, but these errors were encountered: