summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/repo_indexer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_indexer.go b/models/repo_indexer.go
index 83383807a7..3a41e0525a 100644
--- a/models/repo_indexer.go
+++ b/models/repo_indexer.go
@@ -232,7 +232,7 @@ func addDelete(filename string, repo *Repository, batch rupture.FlushingBatch) e
}
func isIndexable(entry *git.TreeEntry) bool {
- return entry.IsRegular()
+ return entry.IsRegular() || entry.IsExecutable()
}
// parseGitLsTreeOutput parses the output of a `git ls-tree -r --full-name` command