Skip to content

feature/Symlinked-destination-wrong-repo · L-260924-c4e3df - #39

Merged
lchoquel merged 2 commits into
devfrom
feature/Symlinked-destination-wrong-repo
Sep 25, 2026
Merged

lchoquel merged 2 commits into
devfrom
feature/Symlinked-destination-wrong-repo

Conversation

@lchoquel

@lchoquel lchoquel commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

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.

Review in cubic

lchoquel and others added 2 commits September 25, 2026 02:00
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
@lchoquel
lchoquel merged commit da4edad into dev Sep 25, 2026
3 checks passed
@lchoquel
lchoquel deleted the feature/Symlinked-destination-wrong-repo branch September 25, 2026 00:06
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