diff mbox series

[03/34] doc: remove unneeded .gitattributes

Message ID 20250303204443.360595-4-tmz@pobox.com (mailing list archive)
State New
Headers show
Series misc *.txt -> *.adoc fixes | expand

Commit Message

Todd Zullinger March 3, 2025, 8:44 p.m. UTC
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).

Signed-off-by: Todd Zullinger <tmz@pobox.com>
---
 Documentation/.gitattributes | 1 -
 1 file changed, 1 deletion(-)
 delete mode 100644 Documentation/.gitattributes

Comments

Junio C Hamano March 3, 2025, 9:55 p.m. UTC | #1
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.

> 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
diff mbox series

Patch

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