Re: [PATCH 9/9] t3703, t4208: add test cases for magic pathspec
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 14 quoted lines
> On Tue, May 10, 2011 at 07:51, Junio C Hamano <gitster@pobox.com> wrote:
>
>> +test_expect_success 'add :/' "
>> + cat >expected <<-EOF &&
>> + add 'anothersub/foo'
>> + add 'expected'
>> + add 'sub/actual'
>> + add 'sub/foo'
>> + EOF
>> + (cd sub && git add -n :/ >actual) &&
>> + test_cmp expected sub/actual
>> +"
>
> This needs to use test_i18ncmp.
I don't think so (at least not yet).
Doesn't it come from read-cache.c::add_to_index()?