Skip to content
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

cannot split off a pure file removal change #5262

Closed
wmartinmimi opened this issue Jan 4, 2025 · 1 comment
Closed

cannot split off a pure file removal change #5262

wmartinmimi opened this issue Jan 4, 2025 · 1 comment

Comments

@wmartinmimi
Copy link

Description

When attempting to move a file removal from a commit/working change to another commit, it fails.

Steps to Reproduce the Problem

  1. mkdir test
  2. cd test
  3. jj git init
  4. echo "test" > test
  5. jj ci -m "new"
  6. echo "testing" > test2
  7. rm test
  8. jj split
  9. select only the file removal
  10. fails

note that it also fails for jj squash -i

https://asciinema.org/a/aVeHtWjw2CO0X5V2DsMxwCZkp

Expected Behavior

The file removal change is moved to the desired commit

Actual Behavior

The file removal change remains in the original commit

Specifications

  • Platform: wsl2 (arch linux)
  • Version: 0.24 and 0.25, have not tested other versions
@martinvonz
Copy link
Member

Sounds a lot like #3702

@wmartinmimi wmartinmimi closed this as not planned Won't fix, can't repro, duplicate, stale Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants