mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
helper/reset-env: helper to prevent GREP_OPTIONS from causing issues
This commit is contained in:
parent
23c270bc0f
commit
336501382e
2
Makefile
2
Makefile
|
|
@ -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
2
helper/reset-env
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# reset environment variables that could interfere with normal usage
|
||||
export GREP_OPTIONS=
|
||||
Loading…
Reference in a new issue