GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Commit hooks don't respect core.hooksPath in config. · Issue #2083 · gitpython-developers/GitPython

Commit hooks don't respect core.hooksPath in config. #2083

New issue
Copy link
New issue
Copy link
Closed
Bug
#2159
Closed
Commit hooks don't respect core.hooksPath in config.#2083
Bug
#2159
Copy link
Labels
help wanted

Description

@AndrewDoesNotCompute
AndrewDoesNotCompute
opened on Nov 23, 2025
Issue body actions

Commit hooks are more-or-less hardcoded to use hooks found in .git/hooks. This means that specifying core.hooksPath in any git config file (i.e. /etc/gitconfig, ~/.gitconfig, ~/git/config, $REPO/.git/config) has no effect. Is this by design?

Reacted by Eliah Kagan

Activity

  1. Byron
    added the
    Bug
    issue type on Nov 24, 2025
  2. Byron
    added
    help wanted
    on Nov 24, 2025
  3. Byron commented on Nov 24, 2025

    @Byron
    Byron
    on Nov 24, 2025
    Member
    More actions

    Thanks for reporting and raising awareness.

    This clearly is a shortcoming, and it's likely that this configuration value didn't exist when this code was written.

    Reacted by Eliah Kagan and javi
  4. Byron
    added 2 commits that reference this issue on Jul 20, 2026

    fix: respect core.hooksPath for commit hooks

    406b98e

    Address review feedback about hook resolution (gitpython-developers#2083

    6bdeff8
  5. Byron
    closed this as completedin #2159on Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wanted

    Type

    Bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.