Skip to content

What is the recommended equivalent to git grep #1404

Answered by Byron
phlax asked this question in Q&A
Discussion options

You must be logged in to vote

GitPython won't help much here as it merely acts as wrapper around git to allow something like repo.git.grep(I=true), the result has to be parsed by hand. There is no other support for grep like functionality or gitattributes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1403 on January 29, 2022 01:16.