Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rusmux opened this issue May 17, 2024 · 1 comment
Open

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

rusmux opened this issue May 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@rusmux
Copy link

rusmux commented May 17, 2024

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 rusmux added the bug Something isn't working label May 17, 2024
@di-sukharev
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants