-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Labels
Description
Description
After installing Entire CLI and running entire enable in one project, the global git hooks that Entire installs (~/.config/git/hooks/) create a .entire/logs/ directory in every git repository on any git operation (commit, push, etc.) — even repos where Entire has never been enabled.
Steps to reproduce
- Install Entire CLI
- Run
entire enablein project A - Go to project B (where Entire is not enabled —
entire statusshows "not set up") - Make a git commit
- Observe that
.entire/logs/entire.logis created in project B
Expected behavior
The global hooks should check whether Entire is enabled in the current repository before creating any files or directories. If entire status reports "not set up", the hooks should be a no-op with no side effects.
Actual behavior
Every hook invocation (entire hooks git post-commit, commit-msg, prepare-commit-msg, pre-push) eagerly creates .entire/logs/ regardless of whether the repo has Entire enabled.
Environment
- Entire CLI installed via Homebrew (Linuxbrew)
- Global git hooks path:
~/.config/git/hooks/ - OS: Ubuntu 24.04
Reactions are currently unavailable