-
Notifications
You must be signed in to change notification settings - Fork 9.8k
test(fixture): isolate test git repos from developer global hooks #8898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR improves test isolation by preventing global git configuration and hooks from interfering with test execution. Developers with global git hooks (e.g., enforcing commit sign-offs) were experiencing test failures because the test fixture git repositories inherited those global settings.
Changes:
- Configured isolated user identity for test git repositories
- Redirected git hooks to an empty directory to bypass global hooks
- Added comments explaining the isolation strategy
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
00637c0 to
71e0ba2
Compare
f1ae801 to
08fa7f7
Compare
Tests could fail for developers with global git hooks (e.g., sign-off requirements). Test fixtures now use isolated git config and an empty hooks directory. Signed-off-by: assagman <ahmetsercansagman@gmail.com>
Address PR review: make config scope explicit for clarity. Signed-off-by: assagman <ahmetsercansagman@gmail.com>
a899ca5 to
5179f94
Compare
Tests could fail for developers with global git hooks (e.g., sign-off requirements). Test fixtures now use isolated git config and an empty hooks directory.
Fixes #8899