Skip to content

Spec failure when Git is globally configured with diff.noprefix=true

What does this MR do?

Fixes some rspec tests failure (spec/lib/gitlab/git/*_spec.rb) when Git is globally (in ~/.gitconfig) configured with diff.noprefix=true.

Why was this MR needed?

Tests have to be independent of environment they are being run in.

Merge request reports