GitHub repository with your minimal reproducible example (do not leave this field blank or fill out this field with "github.com/bufbuild/buf" or we will automatically close your issue, see the instructions above!)
No response
What's up?
When I run pre-commit run --all-files or buf breaking --against "ssh://git@github.com/provistaai/protobuf.git#branch=main", It's all right. But when I run git commit, It will auto set core.bare to 'true' and failed.

It's a submodule and my .pre-commit-config.yaml is:
repos:
- repo: local
hooks:
- id: buf-format
name: Format Protobuf Files
entry: buf format -w
language: system
files: \.proto$
pass_filenames: false
- id: buf-breaking
name: Check Protobuf Breaking Changes
entry: buf breaking --against "ssh://git@github.com/provistaai/protobuf.git#branch=main"
language: system
files: \.proto$
pass_filenames: false
Is that a bug? What should I do? Thx a lot
GitHub repository with your minimal reproducible example (do not leave this field blank or fill out this field with "github.com/bufbuild/buf" or we will automatically close your issue, see the instructions above!)
No response
What's up?
When I run
pre-commit run --all-filesorbuf breaking --against "ssh://git@github.com/provistaai/protobuf.git#branch=main", It's all right. But when I rungit commit, It will auto set core.bare to 'true' and failed.It's a submodule and my
.pre-commit-config.yamlis:Is that a bug? What should I do? Thx a lot