ProjectBorealis / UEGitPlugin

Unreal Engine Git Source Control Plugin (refactored)
MIT License
493 stars 102 forks source link

Incorrect Git root path #131

Open ethan-tqa opened 11 months ago

ethan-tqa commented 11 months ago

This plugin appears to be unable to handle UE project in a subfolder in a git repository. In the attached screenshot, the folder underlined green is the root folder (containing the .git folder), the folder underlined red is the UE project folder. As shown there, the plugin detects the wrong repository root path, and it also does not allow the user to modify the path. Furthermore, due to the incorrect path, it also fails to detect stored login information for the remote repository.

Of course, if I move the UE project to the root folder it would solve the issues, but sometimes the subfolder is desirable for project organization.

2023-10-11_20-19

mastercoms commented 11 months ago

Hi, this seems to be some sort of regression, will look at what's going on here. I can't make sense of the errors in the log though.

huhcm commented 7 months ago

PathToRepositoryRoot = PathToProjectDir in CheckRepositoryStatus() ToDo PathToRepositoryRoot = PathToGitRoot