opencommit icon indicating copy to clipboard operation
opencommit copied to clipboard

[Bug]: `git commit` hook does not use `.opencommitignore`

Open rusmux opened this issue 1 year ago • 1 comments
trafficstars

Opencommit Version

3.0.15

Node Version

v22.0.0

NPM Version

10.8.0

What OS are you seeing the problem on?

Mac

What happened?

I set pre-commit hook by oco hook set, created .opencommitignore file, made changes, committed by git commit and got commit message about ignored files. I after run oco commit and it worked correctly, ignoring the files I specified

Expected Behavior

git commit should use .opencommitignore file

Current Behavior

git commit does not use .opencommitignore file

Possible Solution

No response

Steps to Reproduce

Set hook, create .opencommitignore file, create ignored files, run git commit

Relevant log output

No response

rusmux avatar May 17 '24 10:05 rusmux

@rusmux hello, thank you for opening the issue! Do you want to contribute and introduce a PR here?

di-sukharev avatar Aug 18 '24 11:08 di-sukharev