Skip to content

Gracefully handle ignored symlinks#34

Merged
s0 merged 5 commits into
changesets:mainfrom
h3rmanj:fix/check-is-ignored-first
May 7, 2025
Merged

Gracefully handle ignored symlinks#34
s0 merged 5 commits into
changesets:mainfrom
h3rmanj:fix/check-is-ignored-first

Conversation

@h3rmanj

@h3rmanj h3rmanj commented May 7, 2025

Copy link
Copy Markdown
Contributor

This checks if the filepath is ignored before doing anything else.

This would crash when it was a symlink, when calling workdir?.oid().

Addresses changesets/action#469

Comment thread src/test/integration/git.test.ts Outdated
@s0 s0 changed the title fix: check isIgnored first Gracefully handle ignored symlinks May 7, 2025
@s0 s0 force-pushed the fix/check-is-ignored-first branch from 65a3e68 to 5d8ab8f Compare May 7, 2025 18:37
@s0 s0 force-pushed the fix/check-is-ignored-first branch from 5d8ab8f to 1e78dfb Compare May 7, 2025 18:38
@s0 s0 merged commit 231d400 into changesets:main May 7, 2025
@github-actions github-actions Bot mentioned this pull request May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants