We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 768c70c commit 3d67efdCopy full SHA for 3d67efd
modules/gitrepo/main_test.go
@@ -16,13 +16,6 @@ const (
16
)
17
18
func TestMain(m *testing.M) {
19
- originalRepoRootPath := setting.RepoRootPath
20
- originalHomePath := setting.Git.HomePath
21
- defer func() {
22
- setting.RepoRootPath = originalRepoRootPath
23
- setting.Git.HomePath = originalHomePath
24
- }()
25
-
26
setting.RepoRootPath, _ = filepath.Abs(testReposDir)
27
setting.Git.HomePath = filepath.Join(setting.RepoRootPath, ".home")
28
0 commit comments