Valentin Kiselev

Results 263 comments of Valentin Kiselev

> Is there any way to change this behavior without the need to add LEFTHOOK=0 all the time? Could you describe what happened? You have git hooks using lefthook, but...

I'll try to prepare a fix by next week :+1:

Hey @roman-ih! Sorry for the long delay. It feels like changing current behavior is a big change for lefthook. So, I'd like to suggest an option. What do you think...

@hyperupcall, cool! Do you like `mandatory: true` or any other naming for this option?

Hey! Now you can provide your envs in an [`rc`](https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md#rc) file, you just need to specify one in the config. PATH tweaks can be done just there.

Hey @bennycode! How did you install lefthook? You need to get the absolute path to lefthook executable and add it to your `lefthook.rc` file ```bash # lefthook.rc PATH=$PATH:/path/to/a/folder/with/lefthook/executable ``` Then...

With **v1.3.6** now lefthook implicitly skips commands if no staged files found. `glob` and `exclude` options are also used for filtering implicitly.

Win32 executable is back!

Hey @pvds! With 1.3.0 version I've added handling for partially staged files. Now for pre-commit hook unstaged changes are being hidden, and commands run on staged changes only. Then after...

Thank you for participating in this discussion. I guess maybe `stage_fixed` might also be a good name because most linters have a `--fix` or `--autocorrect` option and `fixed` makes more...