summaryrefslogtreecommitdiffstats
path: root/models/update.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/update.go')
-rw-r--r--models/update.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/models/update.go b/models/update.go
index 1492d6c0d3..0883cb0e01 100644
--- a/models/update.go
+++ b/models/update.go
@@ -263,10 +263,6 @@ func pushUpdate(opts PushUpdateOptions) (repo *Repository, err error) {
commits = ListToPushCommits(l)
}
- if opts.RefFullName == git.BranchPrefix+repo.DefaultBranch {
- UpdateRepoIndexer(repo)
- }
-
if err := CommitRepoAction(CommitRepoActionOptions{
PusherName: opts.PusherName,
RepoOwnerID: owner.ID,