Skip to content

fix: No longer pollute env with GREP_OPTIONS#1030

Merged
hemanth merged 1 commit intotj:masterfrom
hyperupcall:fix-reset-env
Feb 2, 2023
Merged

fix: No longer pollute env with GREP_OPTIONS#1030
hemanth merged 1 commit intotj:masterfrom
hyperupcall:fix-reset-env

Conversation

@hyperupcall
Copy link
Copy Markdown
Collaborator

@hyperupcall hyperupcall commented Jan 31, 2023

By doing export GREP_OPTIONS=, this still creates an environment variable, GREP_OPTIONS in all subprocesses called by any of the git-extras scripts.

The unset -v has the same effect of removing GREP_OPTIONS, without cluttering up the environment table.

@hemanth hemanth merged commit 9c3343d into tj:master Feb 2, 2023
@hyperupcall hyperupcall deleted the fix-reset-env branch February 2, 2023 03:36
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.

3 participants