-
-
Notifications
You must be signed in to change notification settings - Fork 676
Fix skipping a file when staging last file in a directory #2767
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
base: master
Are you sure you want to change the base?
Conversation
8409e2c to
01815be
Compare
|
@Tillerino could you fix the conflicts? |
cruessler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like this change as that is something that has been bothering me for quite some time now. Thanks for the fix! I tested the fix briefly and did not find any issues. I left two minor comments, but nothing major.
|
@Tillerino would love to see this land, are you committed to push it over the finish line? |
4ec717d to
14f190e
Compare
|
I rebased and incorporated the requested changes. Ready to go. |
This Pull Request partly addresses #2748.
The "error" result from the binary search was not taken into account after an update to the status tree, which lead to files being skipped when the last file in a directory was staged.
Before:
Screencast_20251029_204232.webm
(skips
zzz)After:
Screencast_20251029_204327.webm
I followed the checklist:
make checkwithout errors