Re: [PATCH 3/8] ls_colors.c: enable coloring on u+x files
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Mar 21, 2014, 11:52 UTC
- Message-ID
- <CACsJy8A2TaGvS0S9P1hOBmqXPTQszKcVTjXDEPX0kTrdN17Xxg@mail.gmail.com>
- In-Reply-To
- <xmqq7g7ozs0u.fsf@gitster.dls.corp.google.com>
On Fri, Mar 21, 2014 at 12:41 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 5 quoted lines
> Why even include cache.h for S_IXUSR? > > In the context of the patch I see S_ISGID mentioned and other S_* > st_mode things are already in use in this function before this step, > and presumably you are using them without problems, no?
My mistake. git-compat-util.h does include S_IXUSR. The original code was S_IXUGO that's in neither files.
-- Duy