Skip to content

bazel: clear configurations when running git grep in check.sh#84015

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
rickystewart:grepconfig
Jul 7, 2022
Merged

bazel: clear configurations when running git grep in check.sh#84015
craig[bot] merged 1 commit intocockroachdb:masterfrom
rickystewart:grepconfig

Conversation

@rickystewart
Copy link
Copy Markdown
Collaborator

The configurations grep.{column,lineNumber,fullName} can be set
globally or on a per-user basis and change the output of git grep,
which breaks checks that do exact-string matching. We manually clear
these configurations for the git greps in this file to ensure the
output is predictable on any machine.

Release note: None

The configurations `grep.{column,lineNumber,fullName}` can be set
globally or on a per-user basis and change the output of `git grep`,
which breaks checks that do exact-string matching. We manually clear
these configurations for the `git grep`s in this file to ensure the
output is predictable on any machine.

Release note: None
@rickystewart rickystewart requested a review from a team as a code owner July 7, 2022 17:39
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@mari-crl mari-crl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Thanks for the quick fix here! :3

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @rickystewart)

@rickystewart
Copy link
Copy Markdown
Collaborator Author

bors r=miretskiy,mari-crl

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jul 7, 2022

Build succeeded:

@craig craig bot merged commit 6b7082a into cockroachdb:master Jul 7, 2022
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.

4 participants