mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 15:26:16 -04:00
test: ignore global git config when running tests (#485)
This commit is contained in:
parent
a5f5ea5206
commit
024389f799
|
|
@ -3,6 +3,10 @@
|
|||
function set_up_before_script() {
|
||||
source bin/git-forgit
|
||||
|
||||
# Ignore global git config files
|
||||
export GIT_CONFIG_SYSTEM=/dev/null
|
||||
export GIT_CONFIG_GLOBAL=/dev/null
|
||||
|
||||
# Create a temporary git repository for testing
|
||||
cd "$(bashunit::temp_dir)" || return 1
|
||||
git init -q
|
||||
|
|
|
|||
Loading…
Reference in a new issue