Is anybody using our pre-commit hook?
I want to remove it, as I haven't used it for years -- creates more hassle when rustfmt fails to parse something
there's a pre-commit hook?
Iirc it invokes rustfmt right? I tried it once I think but got annoyed by how long it delayed the commit command so I removed it again
No, I don't use it. Yeah, it's documented in https://github.com/rust-analyzer/rust-analyzer/tree/master/docs/dev#ci.
I remember that pre-commit hook was not working in Windows.
I guess that answers my question...
Remove it. It doesn't work on windows. Or at least my windows.
I use it actually, but fine without it either.
It also spoils the partial git add, I've spent half an hour the first time it occurred :smile: