-
Couldn't load subscription status.
- Fork 5.7k
Description
Summary
Prek (alternative to pre-commit) causes git commit to never complete and prevents various features from working.
Description
Recently I tried switching from pre-commit to prek. All seemed to work well. But when committing from zed the commit spinner keeps spinning infinitely. This also prevents any other update to git state or the agent panel from working.
Steps to reproduce:
- create git repo
- install prek (uv tool install prek && prek install)
- add a sample .pre-commit-config.yaml file.
- try to create a commit via the panel.
Sample file to use.
repos:
- repo: local
hooks:
- id: test
name: test
entry: echo "Running tests..."
language: system
pass_filenames: false
fail_fast: trueExpected Behavior:
commit to succeed.
Actual Behavior:
git commit spinner keeps showing in the bottom bar.
Nothing on this shows in the log and there is no error message. I have set up zed to be build. Let me know what I can do to help troubleshoot this issue.
Zed Version and System Specs
Zed: v0.201.8 (Zed)
OS: macOS 15.5.0
Memory: 18 GiB
Architecture: aarch64
Metadata
Metadata
Assignees
Labels
Type
Projects
Status