Skip to content
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

Fix #328 checkout to wrong folder using submodules #330

Open
wants to merge 1 commit into
base: intellij14
Choose a base branch
from
Open

Fix #328 checkout to wrong folder using submodules #330

wants to merge 1 commit into from

Conversation

jankorichter
Copy link

@jankorichter jankorichter commented Oct 23, 2018

refs #328: It works for me now.

Copy link
Owner

@uwolfer uwolfer left a comment

Choose a reason for hiding this comment

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

Thanks for your PR!

return Optional.of(repository);
}
}
if (repository.getRoot().getCanonicalPath().equals(project.getBaseDir().getCanonicalPath())) {
Copy link
Owner

Choose a reason for hiding this comment

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

I think this solution looks a bit too simple to be true :)

Are you really sure that the code above is not required anymore?

@jankorichter
Copy link
Author

To be honest: no :( It's seems for me, that Intellij doesn't support git submodules (see https://youtrack.jetbrains.com/issue/IDEA-64024). So Jetbrains's multi roots and git's submodules are similar but different. I recommend that I rewrite my commit to use it as a special but prefered case. Do you agree?

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.

2 participants