From: Junio C Hamano Date: Wed, 20 Nov 2019 03:48:54 GMT Subject: Re: git check-ignore returns 0 for negated masks Message-ID: In-Reply-To: <20191119140135.GA7389@seldon.slonopotamus.org> marat@seldon.slonopotamus.org writes: > I believe this is a bug because it contradicts check-ignore documentation: > > 0 - One or more of the provided paths is ignored. > 1 - None of the provided paths are ignored. I think the doc was written with primarily positive entries in mind (it might even predate the introduction of the feature to allow negative entries in the file), so it might need to be adjusted with something like s/be ignored/match the pattern/, perhaps?