Skip to content

Commit bc01770

Browse files
rwp0xenu
authored andcommitted
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.
1 parent 98ce67c commit bc01770

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ warnings.h linguist-generated
2121
*.pl linguist-language=Perl
2222
*.pm linguist-language=Perl
2323
*.t linguist-language=Perl
24+
*.h linguist-language=C

0 commit comments

Comments
 (0)