Subject: Re: Git attributes ignored for root directory

From: Johannes Sixt <[email-masked]>
Date: Thu, 13 Oct 2011 15:16:25 +0200

Am 10/13/2011 12:49, schrieb Gioele Barabucci:
> I see that `/*/` in `.gitignores` successfully ignores all the non-hidden
> directories in the root project directory. Another accidental success? :)

No, that's by design. The first slash means "apply only in this directory,
not any subdirectories", and the slash at the end means "match only if the
name is a directory".

-- Hannes