"git ubuntu" wrappers [was: What to do with .git directories in source package uploads?]

Robie Basak robie.basak at ubuntu.com
Tue Jun 13 14:18:24 UTC 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/vcs-pkg-discuss/attachments/20170613/f6ff0c26/attachment.sig>


More information about the vcs-pkg-discuss mailing list