mirror of https://github.com/gogs/gogs.git
Code cleanup
parent
98e1206ccf
commit
c03d0401c1
|
@ -2404,7 +2404,6 @@ func (repo *Repository) UploadRepoFiles(doer *User, oldBranchName, branchName, t
|
|||
}
|
||||
|
||||
dirPath := path.Join(localPath, treeName)
|
||||
|
||||
os.MkdirAll(dirPath, os.ModePerm)
|
||||
|
||||
// Copy uploaded files into repository.
|
||||
|
|
Loading…
Reference in New Issue