Re: [PATCH 03/34] doc: remove unneeded .gitattributes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 3, 2025, 21:55 UTC
- Message-ID
- <xmqqjz95vkwi.fsf@gitster.g>
- In-Reply-To
- <20250303204443.360595-4-tmz@pobox.com>
Todd Zullinger <tmz@pobox.com> writes:
> The top-level .gitattributes file contains entries for the Documentation > tree. Documentation/.gitattributes has not been touched since it was > added in 14f9e128d3 (Define the project whitespace policy, 2008-02-10).
I'd explain this change a bit differently, but the end result I agree with. These days we no longer have any .txt file under the Documentation/ hierarchy, so no matter what the other gitattributes files at the upper level(s) do, this attribute definition for .txt file would not do anything, so it makes perfect sense to lose it.
Show 13 quoted lines
> Signed-off-by: Todd Zullinger <tmz@pobox.com> > --- > Documentation/.gitattributes | 1 - > 1 file changed, 1 deletion(-) > delete mode 100644 Documentation/.gitattributes > > diff --git a/Documentation/.gitattributes b/Documentation/.gitattributes > deleted file mode 100644 > index ddb030137d..0000000000 > --- a/Documentation/.gitattributes > +++ /dev/null > @@ -1 +0,0 @@ > -*.txt whitespace