This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98ce67c
)
Override *.h files as C with Linguist
author
Elvin Aslanov
<rwp.primary@gmail.com>
Sat, 14 Jan 2023 13:32:50 +0000
(17:32 +0400)
committer
xenu
<me@xenu.pl>
Sun, 15 Jan 2023 18:04:31 +0000
(19:04 +0100)
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.
.gitattributes
patch
|
blob
|
blame
|
history
diff --git
a/.gitattributes
b/.gitattributes
index
d8f7d6d
..
f8c82a9
100644
(file)
--- 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