diff options
author | Elvin Aslanov <rwp.primary@gmail.com> | 2023-01-14 17:32:50 +0400 |
---|---|---|
committer | xenu <me@xenu.pl> | 2023-01-15 19:04:31 +0100 |
commit | bc01770b32f9d9bf9d313d2eec370c41822cd61c (patch) | |
tree | ea21f827482fc6e7acbb9de4b65be972c571c7a9 | |
parent | 98ce67cb64ba29be3aa5fd5b81012a3aab873b8e (diff) | |
download | perl-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.
-rw-r--r-- | .gitattributes | 1 |
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 |