Re: [PATCH v4 2/3] diff: Let "git diff -O" read orderfile from any file, fail properly
- From
Samuel Bronson <naesten@gmail.com>
- Date
- Dec 17, 2013, 04:06 UTC
- Message-ID
- <CAJYzjmcAXiMhKA1XKgnd6V1bto=VDCR6xwKaO6f+UAe-S7hGzA@mail.gmail.com>
- In-Reply-To
- <xmqq4n68o647.fsf@gitster.dls.corp.google.com>
On Mon, Dec 16, 2013 at 4:09 PM, Junio C Hamano <gitster@pobox.com> wrote:
> Samuel Bronson <naesten@gmail.com> writes:
>> +test_expect_success 'unreadable orderfile' ' >> + touch unreadable_file && >> + chmod -r unreadable_file &&
> - this test probably needs restricted to people with sane > filesystems; I think POSIXPERM prerequisite and also SANITY > prerequisite are needed, at least.
Hmm, yeah, you've got a point; now that I think more carefully, the most FAT can do is something like "chmod -w", nothing with the "r" permissions. Oops.