Re: [PATCH] docs: .gitignore in parents is current repo only
- From
Andrew Berry <andrew@furrypaws.ca>
- Date
- Jul 5, 2021, 23:50 UTC
- Message-ID
- <54FBABC9-2BDF-4879-AB5A-BAE4E8179D80@furrypaws.ca>
- In-Reply-To
- <xmqq4kd8mt05.fsf@gitster.g>
On 5 Jul 2021, at 15:59, Junio C Hamano wrote:
Show 28 quoted lines
> "Andrew Berry" <andrew@furrypaws.ca> writes: > > Meaning something like the following? > > I do agree that it makes it a lot clearer. > > Documentation/gitignore.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git c/Documentation/gitignore.txt w/Documentation/gitignore.txt > index 53e7d5c914..58c2e41bbe 100644 > --- c/Documentation/gitignore.txt > +++ w/Documentation/gitignore.txt > @@ -27,8 +27,8 @@ precedence, the last matching pattern decides the > outcome): > them. > > * Patterns read from a `.gitignore` file in the same directory > - as the path, or in any parent directory, with patterns in the > - higher level files (up to the toplevel of the work tree) being > overridden > + as the path, or in any parent directory (up to the toplevel of > + the work tree), with patterns in the higher level files being > overridden > by those in lower level files down to the directory containing the > file. > These patterns match relative to the location of the > `.gitignore` file. A project normally includes such
Yes, that's good. My only suggestion would mirror the earlier one, to split toplevel to "top-level" or "top level".