Skip to content

Disable external git diff tool in tests#1124

Merged
ericmj merged 1 commit intohexpm:mainfrom
elfenlaid:external-git-diff-tool
Mar 29, 2026
Merged

Disable external git diff tool in tests#1124
ericmj merged 1 commit intohexpm:mainfrom
elfenlaid:external-git-diff-tool

Conversation

@elfenlaid
Copy link
Copy Markdown
Contributor

The changes fix tests for systems with external git diff tools.

For example, I use https://github.com/Wilfred/difftastic as a diff tool and it doesn't produce - and + signs that Mix.Tasks.Hex.PackageTest tries to match.

--no-ext-diff instructs git to output diffs as if no external diff tools are set: https://git-scm.com/docs/git-diff

@ericmj ericmj merged commit 7940feb into hexpm:main Mar 29, 2026
12 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