Re: [PATCH 3/8] ls_colors.c: enable coloring on u+x files
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Mar 20, 2014, 11:46 UTC
- Message-ID
- <vpqpplhks7n.fsf@anie.imag.fr>
- In-Reply-To
- <1395310551-23201-4-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
> git-compat-util.h does not seem to carry S_IXUGO. Anyway as far as Git > is concerned, we only care one executable bit. Hard code it.
Why not use S_IXUSR instead of a hardcoded value? (already used in path.c, so shouldn't be a problem wrt portability)
-- Matthieu Moy http://www-verimag.imag.fr/~moy/