Skip to content

Commit

Permalink
Don't follow disabled repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
tivervac authored and laeubi committed Apr 30, 2024
1 parent 692af00 commit fcf8678
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,8 @@ private static void addReferences(IMetadataRepository repository, List<IMetadata
Collection<IRepositoryReference> references = repository.getReferences();
SubMonitor subMonitor = SubMonitor.convert(monitor, references.size() * 2);
for (IRepositoryReference reference : references) {
if (reference.getType() == IRepository.TYPE_METADATA && seen.add(reference)) {
if (reference.getType() == IRepository.TYPE_METADATA && reference.getOptions() == IRepository.ENABLED
&& seen.add(reference)) {
try {
IMetadataRepository referencedRepository = manager.loadRepository(reference.getLocation(),
subMonitor.split(1));
Expand Down

0 comments on commit fcf8678

Please sign in to comment.