Valentin Kiselev

Results 261 comments of Valentin Kiselev

Closing the PR since found another approach and closed the original issue

Hey @pschirch ! Does it work when you're running Git hooks? Is it important for you to have this `rc` file working for non-git hooks? Originally `rc` option was supposed...

@doniz , please update to the latest lefthook (1.10.10). I've changed the parser in 1.9.0, and this must fix the issue

> It is possible to extend lefthook rc implementation also be available when running lefthook run ...? Lefthook wraps each command with a `sh -c`, but it inherits the environment...

There must be a way to generate the PR from the CI 🤔 I'll investigate

I found an existing lefthook package in testing: https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/lefthook?ref_type=heads lefthook version is 1.8.5

There is also another workaround: ```yml commit-msg: skip: - run: cat .git/COMMIT_EDITMSG | grep "^fixup! " jobs: - run: cog verify --file {1} ``` I will close this issue since...

Hey! Thank you for submitting this issue. I couldn't reproduce the issue on my macOS, so I assume this is something OS-related. I will try to figure it out.

From my perspective it looks like git command returns the file list in different encoding. Could you try setting the default encoding for Powershell to UTF-8 (if not set yet)?...

Yes, it's `git diff --name-only --cached --diff-filter=ACMR`. So, it returns the same corrupted result when executed explicitly, right?