aboutsummaryrefslogtreecommitdiffstats
path: root/services/repository/files/upload.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/repository/files/upload.go')
-rw-r--r--services/repository/files/upload.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/repository/files/upload.go b/services/repository/files/upload.go
index 5e9c936113..28ed461fdc 100644
--- a/services/repository/files/upload.go
+++ b/services/repository/files/upload.go
@@ -97,6 +97,7 @@ func UploadRepoFiles(repo *repo_model.Repository, doer *user_model.User, opts *U
filename2attribute2info, err = t.gitRepo.CheckAttribute(git.CheckAttributeOpts{
Attributes: []string{"filter"},
Filenames: names,
+ CachedOnly: true,
})
if err != nil {
return err