{"thread":{"id":"38219","subject":"Bug: git-gui stops showing untracked files when invalid .git file is present in a subfolder","startedAt":"2014-12-21T19:23:44Z","lastAt":"2014-12-21T19:23:44Z","messageCount":1,"participants":["Thibault Kruse"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"253899","messageId":"CAByu6UUtuTjXgJpH3GE1qCRvQTBefm3zO2cfa+cR_ej1UqJ3mw@mail.gmail.com","threadId":"38219","inReplyTo":null,"subject":"Bug: git-gui stops showing untracked files when invalid .git file is present in a subfolder","fromName":"Thibault Kruse","fromEmail":"tibokruse@googlemail.com","sentAt":"2014-12-21T19:23:44Z","receivedAt":"2014-12-21T19:23:44Z","isPatch":false,"sender":{"key":"tibokruse@googlemail.com","avatar":"https://gravatar.com/avatar/68c46b980bae1554690b4e334db8e5102b7fc25afae6bba2fdf48ce1243cc0c6?d=mp&s=160"},"body":"To reproduce:\n\ngit init testrepo\ncd testrepo\ntouch test.txt\nmkdir sub\necho 'gitdir: path/to/nowhere' >> sub/.git\ngit gui\n\n\nDisplays no files/changes, no error message.\nShould display test.txt in git-gui. Or possibly fail with error\n(though git status does not fail).\nShell should display error message.\n\n\nObserved on Ubuntu 13.10 using\ngit version 1.8.3.2\ngit-gui version 0.17.0\n\nNote the same happens when writing rubbish like 'xyz' into that .git\nfile (Violating gitfile format).\n\nNote that when trying to launch git gui from that subfolder, I get a\nvalid error message:\nfatal: Not a git repository: path/to/nowhere\nsame as when running git status\n\nI guess that git-gui tries to do something with submodules, but some\nfailure is not handled well.\n\nregards,\n  Thibault\n"}]}