Re: t3010 broken by 2eac2a4
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Aug 22, 2013, 23:15 UTC
- Message-ID
- <CAPig+cSqtMOYvxbvXstm9nqQD9sQ378NKCHSK7Ec6GrK5VJiGA@mail.gmail.com>
- In-Reply-To
- <xmqqwqndpbfc.fsf@gitster.dls.corp.google.com>
On Thu, Aug 22, 2013 at 7:12 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 9 quoted lines
> Eric Sunshine <sunshine@sunshineco.com> writes: > >> Status update: For the 'pathx' directory created by the t3010 test, >> directory_exists_in_index() returns false on OSX, but true is returned >> on Linux. > > Because a regular pathx/ju is in the index at that point, the > correct answer directory_exists_in_index() should give for 'pathx' > is "index_directory", not "index_nonexistent", I think.
directory_exists_in_index() and directory_exists_in_index_icase() are behaving differently. You can replicate the problem on Linux by enabling core.ignorecase in the test (sans gmail whitespace damage):
-->8--
diff --git a/t/t3010-ls-files-killed-modified.sh b/t/t3010-ls-files-killed-modif index 3120efd..8c76160 100755 --- a/t/t3010-ls-files-killed-modified.sh +++ b/t/t3010-ls-files-killed-modified.sh @@ -89,7 +89,7 @@ test_expect_success 'git ls-files -k to show killed files.' ' : >path9 && touch path10 && >pathx/ju/nk && - git ls-files -k >.output + git -c core.ignorecase=true ls-files -k >.output ' -->8--