On Tue, Jun 13, 2017 at 03:04:46PM +0100, Robie Basak wrote:
>   1. The imported git trees are defined to escape /^\.git.*/ by
>      prepending a '.'.

It just occurred to me that this would also escape '.gitignore' to
'..gitignore', which personally I'd like, but others might find
surprising. So the exact escaping rule might need a little more
thought/debate. I certainly want to escape '.git' to '..git' though, and
to avoid edge cases we also need to escape '..git' to '...git' and so
on. So perhaps the match should be /^\.+git$/.

Robie

Attachment: signature.asc
Description: PGP signature

_______________________________________________
vcs-pkg-discuss mailing list
vcs-pkg-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/vcs-pkg-discuss

Reply via email to