parent
b9e4e7a761
commit
25d999b468
2 changed files with 2 additions and 1 deletions
|
@ -41,6 +41,7 @@ module Mutant
|
||||||
command = %W[
|
command = %W[
|
||||||
git log
|
git log
|
||||||
#{from}...#{to}
|
#{from}...#{to}
|
||||||
|
--ignore-all-space
|
||||||
-L #{line_range.begin},#{line_range.end}:#{path}
|
-L #{line_range.begin},#{line_range.end}:#{path}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,7 @@ describe Mutant::Repository::Diff do
|
||||||
end
|
end
|
||||||
|
|
||||||
let(:expected_git_log_command) do
|
let(:expected_git_log_command) do
|
||||||
%W[git log from_rev...to_rev -L 1,2:#{path}]
|
%W[git log from_rev...to_rev --ignore-all-space -L 1,2:#{path}]
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'on failure of git log command' do
|
context 'on failure of git log command' do
|
||||||
|
|
Loading…
Reference in a new issue