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
I've noticed that lefthook usually takes more time than I would expect to start. When adding --verbose to the 'internal' hook, I noticed that the following command is the one that is slowing things down:
git lfs pre-push origin git@...
Adding skip_lfs: true in .lefthook.yml solved the issue. I've just checked and without skip_lfs it takes maybe 4-5 extra seconds. Sometimes it felt like more.
I was wondering if there's an valid reason for it taking that long. I have git lfs, but I don't quite understand why should it cause this slowdown
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've noticed that lefthook usually takes more time than I would expect to start. When adding
--verbose
to the 'internal' hook, I noticed that the following command is the one that is slowing things down:git lfs pre-push origin git@...
Adding
skip_lfs: true
in.lefthook.yml
solved the issue. I've just checked and withoutskip_lfs
it takes maybe 4-5 extra seconds. Sometimes it felt like more.I was wondering if there's an valid reason for it taking that long. I have git lfs, but I don't quite understand why should it cause this slowdown
Beta Was this translation helpful? Give feedback.
All reactions