helper/reset-env: helper to prevent GREP_OPTIONS from causing issues

This commit is contained in:
Kylie McClain 2015-04-08 18:50:41 -04:00
parent 23c270bc0f
commit 336501382e
2 changed files with 3 additions and 1 deletions

View file

@ -5,7 +5,7 @@ BINS = $(wildcard bin/git-*)
MANS = $(wildcard man/git-*.md)
MAN_HTML = $(MANS:.md=.html)
MAN_PAGES = $(MANS:.md=.1)
LIB = "helper/git-extra-utility"
LIB = "helper/reset-env" "helper/git-extra-utility"
COMMANDS_USED_WITHOUT_GIT_REPO = git-alias git-extras git-fork git-setup
COMMANDS_USED_WITH_GIT_REPO = $(filter-out $(COMMANDS_USED_WITHOUT_GIT_REPO), \

2
helper/reset-env Normal file
View file

@ -0,0 +1,2 @@
# reset environment variables that could interfere with normal usage
export GREP_OPTIONS=