ProjectBorealis/UEGitPlugin

Incorrect Git root path

ethan-tqa opened this issue · 2 comments

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

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.

PathToRepositoryRoot = PathToProjectDir in CheckRepositoryStatus()
ToDo PathToRepositoryRoot = PathToGitRoot