Skip to content

Commit b0a3ef7

Browse files
committed
The legacy dir check (for 1.17-rc1) could be removed with 1.18 release, since users should have upgraded from 1.17-rc to 1.17-stable
1 parent 2c06e05 commit b0a3ef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/git/git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ var initOnce sync.Once
170170

171171
func initFixGitHome117rc() error {
172172
// Gitea 1.17-rc uses "setting.RepoRootPath" for Git HOME, which is incorrect.
173-
// Do this check to make sure there is no legacy file in the RepoRootPath. This check might be able to be removed with 1.19 release.
173+
// Do this check to make sure there is no legacy file in the RepoRootPath. This check might be able to be removed with 1.18 release.
174174

175175
// remove the auto generated git config file (it will be moved to new home)
176176
gitConfigNewPath := filepath.Join(HomeDir(), ".gitconfig")

0 commit comments

Comments
 (0)