/
githubmirror
/
julia
Обзор
Документация
Войти
/
githubmirror
/
julia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
stdlib/LibGit2/test/libgit2.jl
11 строк
425 B
Jameson Nash
[LibGit2] isolate tests from ~/.gitconfig
02 авг 2022, 18:54
02 авг 2022, 18:54
dd15831
Код
Авторство
О чём код?
# This file is a part of Julia. License is MIT: https://julialang.org/license # Set HOME to control where the .gitconfig file may be found. # Note: In Cygwin environments `git` will use HOME instead of USERPROFILE. # Setting both environment variables ensures home was overridden. mktempdir() do dir dir = realpath(dir) withenv("HOME" => dir, "USERPROFILE" => dir) do include("libgit2-tests.jl") end end