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
AFAIK pre-commit is commonly used in workflows these days, and I include it in mine. Currently fugit2 doesn't ave great support for it. I don't know if libgit2 has proper support for the hooks that pre-commit creates.
Describe the solution you'd like
I'd like the pre-commit hooks to be run on commit (like git commit does) and some kind of indication to the user if the hook fails fails.
Describe alternatives you've considered
This is not a show stopper preventing me from using fugit2. I can just invoke pre-commit manually as part of my workflow (and my CI/CD also runs it).
Additional context
No response
The text was updated successfully, but these errors were encountered:
Hi @Kraust, pre-commit is not implemented in libgit2 libgit2/libgit2#964. It is the responsibility of IDE/plugin to implement it. In this case, Fugit2 have to handle and call pre-commit command explicitly.
Let's me investigate how to implement it. It may take a while because I'm not so familiar with pre-commit yet.
Did you check the docs?
Is your feature request related to a problem? Please describe.
https://pre-commit.com/
AFAIK pre-commit is commonly used in workflows these days, and I include it in mine. Currently fugit2 doesn't ave great support for it. I don't know if libgit2 has proper support for the hooks that pre-commit creates.
Describe the solution you'd like
I'd like the pre-commit hooks to be run on commit (like
git commit
does) and some kind of indication to the user if the hook fails fails.Describe alternatives you've considered
This is not a show stopper preventing me from using fugit2. I can just invoke
pre-commit
manually as part of my workflow (and my CI/CD also runs it).Additional context
No response
The text was updated successfully, but these errors were encountered: