altsem / gitu

A TUI Git client inspired by Magit
MIT License
1.74k stars 89 forks source link

Doesn't support working in Git submodules #53

Closed TheLostLambda closed 6 months ago

TheLostLambda commented 6 months ago

Hiya! Thanks for the super cool looking tool! Unfortunately my main project at the moment is set up as a Git submodule of another repository, but it seems like something about that setup is confusing gitu and I'm ending up with the following error!

Error: Os { code: 20, kind: NotADirectory, message: "Not a directory" }

I was able to reproduce the error by creating an empty git repo (using git init) then using git submodule add ... and adding any other repository into it. gitu works in the parent directory, but cd-ing into the new submodule means that gitu returns the error above.

Let me know if you'd like any more information, and I look forward to using gitu soon!

altsem commented 6 months ago

A fix has been released! :package:

TheLostLambda commented 6 months ago

Working wonderfully! Thanks for the super quick turnaround!