Skip to content

Checking all files in git index #788

@szepeviktor

Description

@szepeviktor

I am a devops person GitHub junky meeting many projects.
Sad new is in #779 😢
I need to check every single file in a git repository, not in the filesystem.
Today I've learned that Typos ignores dotfiles and dotdirectories even when they are under vcs control.

Tried typos --hidden but that also check .git/* files.
Tried typos $(git ls-files) but that has problems with files with whitespaces in the filename.

How to run Typos on all files in git index, not on the filesystem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: Raise on the bar on expectationsS-waiting-on-decisionStatus: Waiting on a go/no-go before implementing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions