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

chore: Interpret git log grep pattern as literal string #264

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

nieomylnieja
Copy link
Collaborator

Motivation

Commits which had special regex characters, like square braces, were causing the git log --grep <pattern> to fail.
We need to interpret these as literal strings, thus -F flag, which as per man git log says:

-F, --fixed-strings
Consider the limiting patterns to be fixed strings (don’t interpret pattern as a regular expression).

@nieomylnieja nieomylnieja merged commit b19a3fb into main Feb 7, 2024
5 checks passed
@nieomylnieja nieomylnieja deleted the fix-release-notes-sh branch February 7, 2024 11:57
nieomylnieja added a commit to nobl9/sloctl that referenced this pull request Feb 7, 2024
BSski pushed a commit to nobl9/sloctl that referenced this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants