Re: [PATCH 04/10] attr: more matching optimizations from .gitignore
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 8, 2012, 15:50 UTC
- Message-ID
- <7v391pnetw.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CACsJy8DhymVp1ncHvtqd4S7TkBDQvNKBf3A0JTft9bX8_-WX_w@mail.gmail.com>
Nguyen Thai Ngoc Duy <pclouds@gmail.com> writes:
> My objection is no-op lines are timed bombs. But users can already do > "dir attr" (no slashes), which is no-op. So yeah, no-op is fine.
Exactly. If you are not catching and barfing the no-slashed variant at the syntax level (and you shouldn't), you shouldn't do so for slashed ones.