From c03d0401c1049eeeccc32ab1f9c3303c130be5ee Mon Sep 17 00:00:00 2001 From: Richard Mahn Date: Fri, 29 Jul 2016 15:38:23 -0600 Subject: [PATCH] Code cleanup --- models/repo.go | 1 - 1 file changed, 1 deletion(-) diff --git a/models/repo.go b/models/repo.go index df9f015eb..1b4482a4e 100644 --- a/models/repo.go +++ b/models/repo.go @@ -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.