ProjectBorealis / UEGitPlugin

Unreal Engine Git Source Control Plugin (refactored)
MIT License
512 stars 104 forks source link

Incorrect Git root path #131

Open ethan-tqa opened 1 year ago

ethan-tqa commented 1 year 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 1 year 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 8 months ago

PathToRepositoryRoot = PathToProjectDir in CheckRepositoryStatus() ToDo PathToRepositoryRoot = PathToGitRoot