From 70a281a39b987d5bc19dbfcb94b0e6381a44ab73 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 9 Jul 2016 23:37:32 +0800 Subject: [PATCH] #2375 preserve cases for action content --- models/action.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/action.go b/models/action.go index bb4a585bb8c..efb4eaaf026 100644 --- a/models/action.go +++ b/models/action.go @@ -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) }