prati0100 / git-gui

Tcl/Tk based UI for Git. I am currently acting as the project's maintainer.
160 stars 87 forks source link

'git gui' doesn't work in pair with 'git submodule foreach' #75

Open skapral opened 2 years ago

skapral commented 2 years ago

I'm trying to open git gui for each submodule in some Git repository. However, attempt to execute a command...

$ git submodule foreach 'git gui'

...fails with error message:

Screenshot from 2022-02-01 17-45-26

Tried out different workarounds, like setting path to submodule explicitly before calling git gui, but with no luck. The issue is reproduced only for git gui --- running gitk through submodules in the same manner works as expected. My environment is Linux Fedora latest, but the issue seems to be reproduced in Windows as well.