On Mon, Apr 20, 2020 at 12:05:28AM +0100, Stuart Henderson wrote:
> On 2020/04/20 00:53, Jeremie Courreges-Anglas wrote:
> > 
> > I think we should use the format described by f.holop, ie
> > distfiles (.cvsignore) -> /distfiles/ (.gitignore)
> > otherwise this could create confusion in case of a name collision in
> > a subdirectory.
> > 
> > But yeah, makes sense, ok jca@
> 
> So to be specific, the diff below. I'll wait a bit for any NAKs before
> I commit it.

just to point that this syntax isn't compatible with got.

        got [...] gives no special significance to the location of path
        component separators, “/”, in a pattern.

so as it, it means it doesn't match anything.

but it doesn't mean it shouldn't be committed.

(the pattern in .cvsignore are also used by got, and match them)

thanks.

> Index: .gitignore
> ===================================================================
> RCS file: .gitignore
> diff -N .gitignore
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ .gitignore        19 Apr 2020 23:04:52 -0000
> @@ -0,0 +1,13 @@
> +/bulk/
> +/distfiles/
> +/locks/
> +/logs/
> +/lost+found/
> +/mystuff/
> +/openbsd-wip/
> +/packages/
> +/plist/
> +/pobj/
> +/sqlports/
> +/sqlports-journal/
> +/update/
> 

-- 
Sebastien Marie

Reply via email to