Skip to content

Global git hooks create .entire/logs/ directory in repos where Entire is not enabled #460

@knowsuchagency

Description

@knowsuchagency

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

  1. Install Entire CLI
  2. Run entire enable in project A
  3. Go to project B (where Entire is not enabled — entire status shows "not set up")
  4. Make a git commit
  5. Observe that .entire/logs/entire.log is 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions