feature/Symlinked-destination-wrong-repo · L-260924-c4e3df - #39
Merged
Merged
Conversation
Every other reading of the destination follows the link into the repository its target is in, while check-ignore asked the repository the link sits in, so that one's ignores could plant a repository in the other's tracked tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014jwcxdPLFmuWiwMg7PKWsH
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014jwcxdPLFmuWiwMg7PKWsH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The initializer asked the repository a symlinked destination sits in whether it ignores it, while every other reading followed the link into the repository its target is in, so the first one's ignores could plant a repository in the second one's tracked tree. It now asks git about the destination where it physically is, and a test pairs a link ignored where it sits with a target that is not ignored.
Closes L-260924-c4e3df
🤖 Generated with Claude Code
https://claude.ai/code/session_014jwcxdPLFmuWiwMg7PKWsH
Summary by cubic
Fixes ignore detection for symlinked destinations during initialization.
The initializer asked the repository a symlinked destination sits in whether it ignores it, while every other reading followed the link into the repository its target is in, letting the first one's ignores plant a repository in the second one's tracked tree. It now reads the link's target and asks the repository it points into, and a test pairs a link ignored where it sits with a target that is not.
Closes L-260924-c4e3df.
Written for commit 6a4ceb4. Summary will update on new commits.