Skip to content

Disable external git diff tool in tests#1124

Open
elfenlaid wants to merge 1 commit intohexpm:mainfrom
elfenlaid:external-git-diff-tool
Open

Disable external git diff tool in tests#1124
elfenlaid wants to merge 1 commit intohexpm:mainfrom
elfenlaid:external-git-diff-tool

Conversation

@elfenlaid
Copy link
Copy Markdown

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

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.

1 participant