Subject: Re: gitignore documentation for info/exclude files and patterns with relative directories

From: Junio C Hamano <[email-masked]>
Date: Fri, 27 Mar 2026 09:18:45 -0700

Dan Drake <[email-masked]> writes:

> The documentation should mention this behavior for info/exclude, as well as 
> the core.excludesFile.

Yup, my mistake more than 20-year-old that nobody complained so far
;-)

Yes, these exclude pattern sources that are outside the working tree
behave as if they are specified at the root level of the working
tree.

Patches welcome. Thanks.