Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

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