diff options
author | Unknwon <u@gogs.io> | 2016-07-09 23:37:32 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-07-09 23:37:32 +0800 |
commit | 70a281a39b987d5bc19dbfcb94b0e6381a44ab73 (patch) | |
tree | ea5194ddc979fa8060802da033314e0719db99f5 | |
parent | 9fcf66f0e0a70ed57dad7b2043d12f6690af71ca (diff) | |
download | gitea-70a281a39b987d5bc19dbfcb94b0e6381a44ab73.tar.gz gitea-70a281a39b987d5bc19dbfcb94b0e6381a44ab73.zip |
#2375 preserve cases for action content
-rw-r--r-- | models/action.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go index bb4a585bb8..efb4eaaf02 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) } |