go-gitconfig
go-gitconfig copied to clipboard
Isolate test environment
The test environment is not fully isolated. An email or username set in the project's own git repo, which is located in the current working directory, interfered with TestUsername()
or TestEmail()
, respectively. This patch isolates the environment.