Skip to content

Git hooks fail with entire: command not found when committing from Xcode #489

@petrenk0n

Description

@petrenk0n

What happened?

The git hooks installed by entire enable call entire by name without an absolute path. When committing from Xcode (which launches git with a minimal environment that doesn't include ~/.local/bin on PATH), the hook fails: .git/hooks/commit-msg: line 4: entire: command not found

Commits from the terminal work fine because the shell profile adds ~/.local/bin to PATH. Xcode doesn't source shell profiles, so the hook can't find the binary.

Steps to reproduce

  1. entire enable in any git repo
  2. Open the project in Xcode and commit via Xcode's source control UI
  3. Commit fails with .git/hooks/commit-msg: line 4: entire: command not found

Entire CLI version

Entire CLI 0.4.7 (80695ef)

OS and architecture

Darwin 25.3.0 arm64

Agent

Claude Code

Strategy

manual-commit (default)

Terminal

Ghostty

Logs / debug output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions