Linguist: Repository misclassifed as Roff

Created on 7 Aug 2017  路  9Comments  路  Source: github/linguist

Most helpful comment

@FabriDamazio I believe @pchaigno meant to point to this file, here:

https://github.com/FabriDamazio/Free-Inventory-Manager/blob/master/FreeInventoryManager/FreeInventoryManager.Web/App_Data/Logs/Logs.txt.1

It's the .1 suffix that's causing the misclassification, and this file is a whopping 9.68 MBs in filesize.

To fix this, add a .gitattributes file to your project's base directory, and add the following line:

~
*.1 linguist-language=Text
~

All 9 comments

This file is detected as Roff. You can change that using Linguist overrides.

@FabriDamazio I believe @pchaigno meant to point to this file, here:

https://github.com/FabriDamazio/Free-Inventory-Manager/blob/master/FreeInventoryManager/FreeInventoryManager.Web/App_Data/Logs/Logs.txt.1

It's the .1 suffix that's causing the misclassification, and this file is a whopping 9.68 MBs in filesize.

To fix this, add a .gitattributes file to your project's base directory, and add the following line:

~
*.1 linguist-language=Text
~

What he said :point_up:

Ty, i followed the instructions and created the file with the line. It didint worked yet. I need wait some amount of time?

It's probably cached. It should refresh the next time you modify a source file.

Ty, i followed the instructions and created the file with the line. It didint worked yet. I need wait some amount of time?

Yes, it's fine now:

$ linguist
71.21%  JavaScript
19.90%  C#
8.81%   CSS
0.06%   HTML
0.01%   ASP

The language bar should refresh next time you commit something.

What he said. 鈽濓笍

Lmao! Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Alhadis picture Alhadis  路  5Comments

Haroenv picture Haroenv  路  4Comments

haskellcamargo picture haskellcamargo  路  3Comments

oliviertassinari picture oliviertassinari  路  5Comments

Sanchez3 picture Sanchez3  路  4Comments