diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2015-12-27 08:51:32 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-12-28 12:42:35 -0800 |
commit | 4d552005323034c1d6311796ac1074e9a4b4b57e (patch) | |
tree | 2ff13df9c3c489567253b8b1a059e1dc0950246b /git.c | |
parent | add and use a convenience macro ce_intent_to_add() (diff) | |
download | tgif-4d552005323034c1d6311796ac1074e9a4b4b57e.tar.xz |
grep: make it clear i-t-a entries are ignored
The expression "!S_ISREG(ce)" covers i-t-a entries as well because
ce->ce_mode would be zero then. I could make a comment saying that, but
it's probably better just to comment with code, in case i-t-a entry
content changes in future.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions