From: Junio C Hamano Date: Sun, 29 May 2011 20:31:36 GMT Subject: Re: [PATCH 9/9] t3703, t4208: add test cases for magic pathspec Message-ID: <7v1uzhp7tj.fsf@alter.siamese.dyndns.org> In-Reply-To: Ævar Arnfjörð Bjarmason writes: > On Tue, May 10, 2011 at 07:51, Junio C Hamano 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()?