Re: [PATCH 1/4] magic pathspec: add tentative ":/path/from/top/level" pathspec support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 8, 2011 at 11:37 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Off the top of my head, we should exclude "." (period -- dot-files are
> common), "_" (underscore), and possibly "+" (plus) and "=" (equal), as I
> saw these used to start filenames, but the latter two are rather rare and
> I don't mind requiring the terminating colon after the magic signature.

Totally agree on dot and underscore. I don't really care the other
two. While '*' is not actually part of path name, '*.[ch]' is commonly
used, and I usually have to quote once to avoid bash expansion
already. So put asterisk in exclude list too, to avoid another quote?
-- 
Duy
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]