0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-22 09:11:30 +01:00

#2375 preserve cases for action content

This commit is contained in:
Unknwon 2016-07-09 23:37:32 +08:00
parent 9fcf66f0e0
commit 70a281a39b

View file

@ -561,7 +561,7 @@ func transferRepoAction(e Engine, actUser, oldOwner, newOwner *User, repo *Repos
RepoUserName: newOwner.Name,
RepoName: repo.Name,
IsPrivate: repo.IsPrivate,
Content: path.Join(oldOwner.LowerName, repo.LowerName),
Content: path.Join(oldOwner.Name, repo.Name),
}); err != nil {
return fmt.Errorf("notify watchers '%d/%d': %v", actUser.Id, repo.ID, err)
}