Skip to content

ag not printing empty files with -l #1497

Open
@otto-dev

Description

@otto-dev

Empty files that are part of the searchable subset of files should still be listed.

ag can deduct that no query will match an empty file, without opening the file, but the file should still be listed as "searchable".

Would be great if it was possible to list empty files. There was #956 but this forces one to use -u, which in my case results in a ton of garbage files in the output (which is not what I want).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions