Add files without text to index?
TobiX opened this issue · comments
Tobias Gruetzmacher commented
When a file isn't added to the index because it's not text, you cannot even find its file name. Would it be possible/desirable to at least add the file to the index as an "empty" file (maybe setting the language to "binary")?
Bonus points if the user can even see why the file was excluded. Hound does this:
I'm willing to implement this myself, just wanted to ask if this is something that sounds useful.
Han-Wen Nienhuys commented
yes. Good idea.
A quick solution is to just replace the body with the reason. More advanced would be to add a new field (which would require an index version bump.)
Helton Marques commented