summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorElvin Aslanov <rwp.primary@gmail.com>2023-01-14 17:32:50 +0400
committerxenu <me@xenu.pl>2023-01-15 19:04:31 +0100
commitbc01770b32f9d9bf9d313d2eec370c41822cd61c (patch)
treeea21f827482fc6e7acbb9de4b65be972c571c7a9 /.gitattributes
parent98ce67cb64ba29be3aa5fd5b81012a3aab873b8e (diff)
downloadperl-bc01770b32f9d9bf9d313d2eec370c41822cd61c.tar.gz
Override *.h files as C with Linguist
GitHub classifies 23 files as C++ for some reason. https://github.com/Perl/perl5/search?q=language%3AC%2B%2B&type=code I believe Perl doesn't contain C++ code, and C++ headers can have a distinguishable .hh, .hpp, .hxx, and .h++ extensions.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index d8f7d6d28b..f8c82a9861 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -21,3 +21,4 @@ warnings.h linguist-generated
*.pl linguist-language=Perl
*.pm linguist-language=Perl
*.t linguist-language=Perl
+*.h linguist-language=C