Skip to content

Conversation

@tt
Copy link
Contributor

@tt tt commented Sep 19, 2025

I have a global Git configuration file which sets diff.noPrefix to false. This means git diff won't produce a/ and b/ prefixes for changed paths.

This breaks an assumption in one of the tests:

assert patch.include?("--- a/Gemfile")

There's a lot of settings that may potentially cause Git to behave differently so I'm using the GIT_CONFIG_GLOBAL environment variable to prevent ever reading the user's configuration.

(I'm not making a note in the changeling as this both seems below the line in terms of importance and shouldn't matter to anyone who isn't contributing to Pliny itself.)

@tt tt requested a review from beanieboi September 19, 2025 12:17
@beanieboi beanieboi merged commit b93794a into interagent:main Oct 1, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants