Skip to content

Conversation

@cdammanintopix
Copy link
Contributor

@cdammanintopixcdammanintopix 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.

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

Labels

bugSomething isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@cdammanintopix@love-linger