git-gui icon indicating copy to clipboard operation
git-gui copied to clipboard

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

Open skapral opened this issue 3 years ago • 0 comments

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.

skapral avatar Feb 01 '22 14:02 skapral