Skip to content

What is the recommended equivalent to git grep  #1403

Description

@phlax

Im shifting some code from bash to python that makes use of git grep

Im wondering if there is a recommended way to do this - eg with a predicate in traverse or using execute

Im particularly keen to replicate git grep's -I functionality which filters out "binary" files from gits pov (ie .gitattributes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions