Skip to content

fix: git/fetch: Unset core.hookspath for each repo during fetch#705

Merged
credfeto merged 1 commit into
mainfrom
fix/617-fetch-unset-hookspath
Jun 24, 2026
Merged

fix: git/fetch: Unset core.hookspath for each repo during fetch#705
credfeto merged 1 commit into
mainfrom
fix/617-fetch-unset-hookspath

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a Fixed entry to CHANGELOG.md documenting that git/fetch unsets core.hookspath for each repo during fetch, preventing globally-configured hook paths from persisting on individual repos.
  • The underlying code change (git -C "$CURRENT_DIR" config --local --unset core.hookspath 2>/dev/null || true) was already committed in c10775e; this PR records it in the changelog.

Closes #617

Test plan

  • CHANGELOG.md lint passed (verified by pre-commit hook during commit)
  • No automated tests exist for shell scripts; the fix is verified by the presence of the core.hookspath unset in git/fetch

Prompt: as part of fetch, can you unset any git hooks directories if they're set on the repo

Closes #617
@github-actions github-actions Bot added the auto-pr Pull request created automatically label Jun 24, 2026
@dnyw4l3n13 dnyw4l3n13 added AI-Work Work for an AI Agent Low Low Priority labels Jun 24, 2026
@credfeto

credfeto commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Super-linter summary

Language Validation result

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@credfeto credfeto enabled auto-merge June 24, 2026 18:23
@credfeto credfeto disabled auto-merge June 24, 2026 18:23
@credfeto credfeto merged commit 17d8523 into main Jun 24, 2026
35 checks passed
@credfeto credfeto deleted the fix/617-fetch-unset-hookspath branch June 24, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-Work Work for an AI Agent auto-pr Pull request created automatically Low Low Priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

git/fetch: Unset core.hookspath for each repo during fetch

2 participants