Closed indrat closed 1 month ago
Hey @indrat! Thank you for submitting the PR! I will try to ignore lfs hook when pre-push is being run manually. But I believe that for consistency lefthook should behave the same way regardless of the execution environment.
subscribe
:wrench: Summary
When manually running
lefthook run pre-push
when git lfs is active/installed lefthook stalls until a new-line is entered.Lefthook version
Steps to reproduce
in a new git repo
Expected results
No stall when running pre-push when git lfs is active.
Actual results
lefthook stalls until a new-line is entered before running the commands.
Possible Solution
Possibly the git-lfs pre-push hooks shouldn't be run when running manually via
lefthook run pre-push
?Logs / Screenshots