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 occasional "Selected files belong to different submodules" error #118

Merged
merged 1 commit into from
Jul 9, 2023

Conversation

Leroy231
Copy link
Contributor

@Leroy231 Leroy231 commented Jul 9, 2023

The issue is that the paths being compared aren't normalized so one may have trailing slash while the other doesn't.

The issue is that the paths being compared aren't normalized so one may have trailing slash while the other doesn't.
@mastercoms mastercoms merged commit 06b8b27 into ProjectBorealis:release Jul 9, 2023
@namrog84
Copy link

namrog84 commented Jul 9, 2023

@Leroy231
I've only recently started using the plugin. but I am seeing 'hundreds' or 'thousands' of this different submodules for things like

Error        LogSourceControl          Can't find directory path for file :E:/Program Files/Epic Games/UE_5.2/Engine/Plugins/2D/Paper2D/Content/Tutorial/Paper2D/TutorialAssets/TutorialSprite.uasset
Error        LogSourceControl          Can't find directory path for file :E:/Program Files/Epic Games/UE_5.2/Engine/Plugins/2D/Paper2D/Content/Tutorial/Paper2D/TutorialAssets/TutorialFlipBook.uasset
Error        LogSourceControl          Can't find directory path for file :E:/Program Files/Epic Games/UE_5.2/Engine/Plugins/Animation/ControlRigSpline/Content/SplineFunctionLibrary/SplineFunctionLibrary.uasset
Error        LogSourceControl          Selected files belong to different submodules

Not sure why its even considering or looking at program files UE5.2 stuff at all?
Do I have something misconfigured? I know you didn't likely cause the issue I'm having but hopefully you might have some insights?

@Leroy231
Copy link
Contributor Author

Leroy231 commented Jul 9, 2023

@namrog84 I'm new to this plugin too, so I don't know much about it, but I think those "Can't find directory path for file" errors are unrelated to the "Selected files belong to different submodules" errors which this PR solves. You should probably create an issue for that. I'm not hitting that "Can't find directory path for file" issue.

@namrog84
Copy link

namrog84 commented Jul 9, 2023

Thanks! I have now 👍

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.

None yet

3 participants