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

Dragging a changed file from a commit to an empty commit above destroys the empty commit above #7543

Open
Kimeiga opened this issue Mar 8, 2025 · 1 comment
Labels
bug Something isn't working 🎉reproduced🎉 The issue could be reproduced by following the instructions

Comments

@Kimeiga
Copy link

Kimeiga commented Mar 8, 2025

Version

0.14.8

Operating System

macOS

Distribution Method

dmg (Mac OS - Apple Silicon)

Describe the issue

If you create an empty commit above a commit and drag a changed file to it, that empty commit above disappears after the app finishes loading the situation, and that changed file goes back to the Changed files list on the first commit.

This doesn't happen if you create an empty commit below and then drag a changed file into there.

How to reproduce (Optional)

  1. Create a commit with a changed file
  2. Create an empty commit above
  3. Drag the changed file to the empty commit above
  4. Observe it going away

Expected behavior (Optional)

The empty commit above should remain and have the changed file in it, just like what happens when you drag a changed file to an empty commit below

Relevant log output (Optional)

@Kimeiga Kimeiga added the bug Something isn't working label Mar 8, 2025
@Byron Byron added the 🎉reproduced🎉 The issue could be reproduced by following the instructions label Mar 11, 2025
@Byron
Copy link
Collaborator

Byron commented Mar 11, 2025

Thanks a lot for reporting.

While trying to reproduce this issue, I think I ran into a couple of other unexpected issues related to dragging and dropping files, which probably means that what is described here is also likely to happen. It's probably best to start on a cleaner slate than what I am using for testing, too.

It's good to know that we are working on a complete overhaul of the underlying code and one may hope that it will work much better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🎉reproduced🎉 The issue could be reproduced by following the instructions
Projects
None yet
Development

No branches or pull requests

2 participants