Contacting DlangScience maintainers
Chris Piker
chris at hoopjump.com
Sun Mar 28 23:23:33 UTC 2021
On Sunday, 28 March 2021 at 22:25:03 UTC, russhy wrote:
>> Interestingly Github flags this repo as a "C" repo , with the
>> balance of code tilting slightly (>51%) in favor of C (perhaps
>> headers), compared to D. I wonder to what degree this affects
>> overall stats of # Dlang repos on Github?
>
> this can be "fixed" using a .gitattribute file with the
> following content:
>
> ```
> *.h linguist-detectable=false
> *.c linguist-detectable=false
> ```
>
> There must be an easier way, if anyone know a cleaner way for
> doing that, please let me know!
Russy, thanks for the tip. I've added a .gitattributes file.
Seems appropriate here since the .h files are just included for
documentation and reproducibility.
More information about the Digitalmars-d-announce
mailing list