Skip to content

fix: keep a file recreated at a renamed file's old path on discard - #63

Merged
undont merged 4 commits into
mainfrom
fix/rename-discard
Oct 9, 2026
Merged

undont merged 4 commits into
mainfrom
fix/rename-discard

Conversation

@undont

@undont undont commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • X on a staged rename restored the old path from HEAD, overwriting any file since recreated there; when the old path exists on disk, discard now unstages both paths and leaves that file as it is
  • bump golangci-lint to 2.14.0

Test plan

  • make check clean

@undont
undont force-pushed the fix/rename-discard branch from 97846d0 to 1da7c31 Compare October 9, 2026 21:24
@undont
undont merged commit 611a26f into main Oct 9, 2026
11 checks passed
@undont
undont deleted the fix/rename-discard branch October 9, 2026 21:27
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

Successfully merging this pull request may close these issues.

1 participant