From 5866eb23217de4d29b181e30c26cee28ebc6aedc Mon Sep 17 00:00:00 2001 From: Ethan Koenig Date: Thu, 26 Oct 2017 23:10:54 -0700 Subject: Code/repo search (#2582) Indexed search of repository contents (for default branch only) --- models/repo_editor.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'models/repo_editor.go') diff --git a/models/repo_editor.go b/models/repo_editor.go index 692fe8c51b..1adaa2c955 100644 --- a/models/repo_editor.go +++ b/models/repo_editor.go @@ -178,6 +178,8 @@ func (repo *Repository) UpdateRepoFile(doer *User, opts UpdateRepoFileOptions) ( if err != nil { return fmt.Errorf("PushUpdate: %v", err) } + UpdateRepoIndexer(repo) + return nil } -- cgit v1.2.3