Don't attempt to fetch suppressed files

This commit is contained in:
Jakob Borg
2014-05-20 20:26:14 +02:00
parent 230f149b4b
commit e17fa7b14e
2 changed files with 3 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ func (m *Set) Need(id uint) []scanner.File {
var fs = make([]scanner.File, 0, len(m.globalKey)/2) // Just a guess, but avoids too many reallocations
rkID := m.remoteKey[id]
for gk, gf := range m.files {
if !gf.Global {
if !gf.Global || gf.File.Suppressed {
continue
}