Re: gitignore documentation for info/exclude files and patterns with relative directories
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 27, 2026, 16:18 UTC
- Message-ID
- <xmqqwlyxkzyy.fsf@gitster.g>
- In-Reply-To
- <Qdk5yVH_yWgKl_bjCjdasusfe3PuzHCZ2rKgKIn2Xx5rcw46jmQDfA6K2vkv3V3XLSy4aqwyUlfVEmF5VlIv3EVEOlZLEnf-paw11tyhZKE=@dandrake.org>
Dan Drake <dan@dandrake.org> 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.