-
Notifications
You must be signed in to change notification settings - Fork 319
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
jj split
always includes new files (when using scm-diff-editor
)
#1916
Comments
I think this is arxanas/git-branchless#995. |
Ah, I see. Because of the way the flow works, you have to be able to delete the file. (Kaleidoscope also struggled with this, but Meld seems to handle it fine.) Feels adjacent to #1905. Closing as not a |
jj split
always includes new filesjj split
always includes new files when using scm-diff-editor
jj split
always includes new files when using scm-diff-editor
jj split
always includes new files (when using scm-diff-editor
)
Workaround by @martinvonz from https://discord.com/channels/968932220549103686/969829516539228222/1135299839706529852:
|
Description
When adding a new file, I cannot get
jj split
to not include a newly-added file, regardless of whether it is included in the "diff".Note: see discussion; this is not strictly a
jj
issue, but primarily a function of how diff editing tools handle whatjj split
needs. Workarounds/solutions:jj move
orjj rebase
as makes sense.scm-diff-editor
andksdiff
both struggle here, but other tools get it right.Steps to Reproduce the Problem
echo "a" > a.txt
jj commit -m "add a"
echo "b" >> a.txt && echo "b" > b.txt
jj split
a.txt
in the first commit (and include all of it).Expected Behavior
b.txt
should not be present in the first commit, so this should now show the commit message editor for the first commit.Actual Behavior
b.txt
is present in the first commit, so the result is "Nothing changed".Specifications
The text was updated successfully, but these errors were encountered: