Skip to content

add git grep to --only-matching-capable utilities#134

Open
LucasLarson wants to merge 1 commit intobeyondgrep:devfrom
LucasLarson:git_grep_-o
Open

add git grep to --only-matching-capable utilities#134
LucasLarson wants to merge 1 commit intobeyondgrep:devfrom
LucasLarson:git_grep_-o

Conversation

@LucasLarson
Copy link

git grep -o (git grep --only-matching) has been able to print only the matched parts of a line since v2.19.0 released in 2018. This commit may fix #133.

`git grep -o` (`git grep --only-matching`) has been able to print
only the matched parts of a line since v2.19.0 released in 2018¹

this commit may fix beyondgrep#133

1. https://git.kernel.org/pub/scm/git/git.git/commit/?id=9d8db06eb4a5d5577db559a0059a377914c1ce5a

Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

git grep -o shows only the part of a line that matched

1 participant