Skip to content

Commit

Permalink
Rename subversions map
Browse files Browse the repository at this point in the history
  • Loading branch information
jtibshirani committed Oct 1, 2024
1 parent 1564fe7 commit c66d8f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/zoekt-repo-index/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ func iterateManifest(mf *manifest.Manifest,
}

rw := gitindex.NewRepoWalker(topRepo, projURL.String(), cache)
versions, err := rw.CollectFiles(tree, rev, &ignore.Matcher{})
subVersions, err := rw.CollectFiles(tree, rev, &ignore.Matcher{})
if err != nil {
return nil, nil, err
}
Expand All @@ -374,7 +374,7 @@ func iterateManifest(mf *manifest.Manifest,
}] = repo
}

for path, version := range versions {
for path, version := range subVersions {
allVersions[filepath.Join(p.GetPath(), path)] = version
}
}
Expand Down

0 comments on commit c66d8f1

Please sign in to comment.