Skip to content

add sub-repositories of the same type as parent #2817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 19, 2019

Conversation

vladak
Copy link
Member

@vladak vladak commented Jun 19, 2019

This change restricts the discovery of sub-repositories to the type of repository already found.

ktulinger
ktulinger approved these changes Jun 19, 2019
Copy link
Contributor

@tulinkry tulinkry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know there was the comment in the code about todooing this, however I never understood the concern here - why should we only discover and index the repositories of the same type? If the project consists of several repositories of different kind then all of them should have the history, shouldn't they?

@vladak
Copy link
Member Author

vladak commented Jun 19, 2019

This is done more for efficiency (esp. those repository types which do not just look for special files/directories but execute a command to detect a repository). Also, mixing repository types is uncommon, I think.

@tulinkry
Copy link
Contributor

I agree that this is an edge case. Let's merge

@vladak vladak merged commit 32c956e into oracle:master Jun 19, 2019
@vladak vladak deleted the add_subrepositories_of_same_type branch June 19, 2019 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants