Skip to content

Conversation

@cdammanintopix
Copy link
Contributor

@cdammanintopix cdammanintopix commented Dec 19, 2025

If the pre-push hook is a broken symlink, IsLFSEnabled was currently throwing a FileNotFoundException during ReadAllText.
It seems like File.Exists is not suffisant, as it only checks if the symlink exist, but not if the target of the symlink exists.

@cdammanintopix cdammanintopix force-pushed the fix-prepush-hook-broken-symlink branch from 8b5b17c to b930768 Compare December 19, 2025 09:28
@love-linger love-linger self-assigned this Dec 19, 2025
@love-linger love-linger added the bug Something isn't working label Dec 19, 2025
@love-linger love-linger merged commit 5f2984f into sourcegit-scm:develop Dec 19, 2025
14 checks passed
@cdammanintopix cdammanintopix deleted the fix-prepush-hook-broken-symlink branch December 19, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants