Documentation
¶
Overview ¶
Package gitconfig isolates tests from the developer's own git configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Isolate ¶
Isolate points both go-git and the git binary at an empty global config in a fresh home directory for the rest of the test, so settings such as commit.gpgSign on the developer's machine cannot change what a test does. It returns the path of that global config file, which the test may write to.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.