You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
statusMatrix() does not work correctly when there is a symlink that targets an ignored directory #1215
When there is a symlink that targets an ignored directory (such as node_modules), statusMatrix() would list files within the ignored directory as "new". This is different from git status --porcelain=v1 when these files are not listed.
Hi! I'd love to take a look at this issue and contribute a fix.
From reading through the description, my understanding is that statusMatrix() currently follows symlinks even when those symlinks point to directories that are in .gitignore. Native git status correctly ignores such symlinks, so isomorphic-git should match that behavior.
My plan:
Reproduce the issue using the linked test repo
Trace the statusMatrix() file walking logic to find where symlink targets are being followed without checking .gitignore
Add a check to resolve symlink targets and skip them if the resolved path falls under an ignored directory
Add a regression test to confirm the fix
Could someone please assign this to me or confirm it's still available? Thanks!
Activity
minutechreview commentedon Jul 20, 2026
Hi! I'd love to take a look at this issue and contribute a fix.
From reading through the description, my understanding is that
statusMatrix()currently follows symlinks even when those symlinks point to directories that are in.gitignore. Nativegit statuscorrectly ignores such symlinks, so isomorphic-git should match that behavior.My plan:
statusMatrix()file walking logic to find where symlink targets are being followed without checking.gitignoreCould someone please assign this to me or confirm it's still available? Thanks!
jcubic commentedon Jul 20, 2026
@minutechreview this project doesn't use assignments. You can work on this issue, but remember to add unit tests.
fix(statusMatrix): do not traverse symlinks in GitWalkerFs (#1215) (#…
jcubic commentedon Jul 21, 2026
🎉 This issue has been resolved in version 1.38.10 🎉
The release is available on:
Your semantic-release bot 📦🚀