Skip to content

gitattributes for detecting .h as C#17

Merged
kolemannix merged 1 commit intomainfrom
this_is_c
Mar 8, 2026
Merged

gitattributes for detecting .h as C#17
kolemannix merged 1 commit intomainfrom
this_is_c

Conversation

@kolemannix
Copy link
Owner

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a .gitattributes file to configure GitHub Linguist to classify .h header files as C. By default, Linguist may misclassify .h files as C++, so this ensures the repository's language statistics accurately reflect that it is a pure C project.

Changes:

  • Added .gitattributes with a single Linguist override rule for .h files

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kolemannix kolemannix merged commit f162694 into main Mar 8, 2026
10 checks passed
@kolemannix kolemannix deleted the this_is_c branch March 8, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants