git-up / GitUp

The Git interface you've been missing all your life has finally arrived.
http://gitup.co
GNU General Public License v3.0
11.48k stars 1.25k forks source link

GitUp fails to open a submodule placed in a sub-subdirectory #864

Closed tim-ist closed 1 year ago

tim-ist commented 1 year ago

If the submodule is located in a sub-subdirectory, GitUp does not open the submodule. Example:

project/
    .git/
    my_submodules/submodule

If I cd my_submodules/submodule and try to launch gitup from there, it fails to open, saying could not find repository from '/Users/.../project/.git/modules/my_submodules'

lucasderraugh commented 1 year ago

Why are you opening from within the .git directory? Just navigate to the actual checked out repo and open it there.

tim-ist commented 1 year ago

I am not opening it from within the .git directory but from the actual checked out submodule repo. Sorry, probably the example directory structure that I posted is confusing.

Now I have recreated the example from scratch and apparently GitUp works fine with it, though not with my real project repo. I will investigate it further. Meanwhile we can probably close this issue, thank you for your quick response!