Skip to content

Commit 573e57f

Browse files
authored
Merge pull request #1 from receipt-bank/reset-color-and-mnemonicprefix-to-default
Reset git diff settings for color and mnemonicprefix to default
2 parents 22d44c7 + bd9056b commit 573e57f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubocop/git/runner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def pull_request
3333
end
3434

3535
def git_diff(options)
36-
args = %w(diff --diff-filter=AMCR --find-renames --find-copies)
36+
args = %w(-c diff.mnemonicprefix=false diff --no-color --diff-filter=AMCR --find-renames --find-copies)
3737

3838
args << '--cached' if options.cached
3939
if options.file

0 commit comments

Comments
 (0)