app: display safe.directory error messages
commit06942658f7be7e9e13b28e832c43455102546173
authorDavid Aguilar <davvid@gmail.com>
Sat, 29 Oct 2022 07:28:32 +0000 (29 00:28 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sat, 29 Oct 2022 07:28:32 +0000 (29 00:28 -0700)
tree47283ab4c717de65937b9ed554d56817a3a06efe
parentd346bba125d36a2d24fea94222436c36587fe920
app: display safe.directory error messages

Probe repositories using "git rev-parse HEAD" to detect the
safe.directory protections from newer versions of Git.

Display the error message details in the startup dialog so that the user
is aware of why Git Cola is unable to open the repository.

Closes #1243
Reported-by: @Hoernchen via github.com
Signed-off-by: David Aguilar <davvid@gmail.com>
CHANGES.rst
cola/app.py
cola/models/main.py