cannot do version compare with git in the /.git work tree
It seems like it was working at some point in the last few months, as root working with the system config files with the work tree rooted at /.
# python --version
Python 3.9.18
# meld --version
meld 3.22.0
# git --version
git version 2.42.0
# pwd
/etc/NetworkManager/system-connections
# git rev-parse --show-toplevel
/
# git ls how.nmconnection
how.nmconnection
# echo "#" >> how.nmconnection
# git --no-pager status --porcelain=1 --short --branch
## master...origin/master
M how.nmconnection
# meld how.nmconnection
Usage:
meld Start with an empty window
meld <file|folder> Start a version control comparison
meld <file> <file> [<file>] Start a 2- or 3-way file comparison
meld <folder> <folder> [<folder>] Start a 2- or 3-way folder comparison
Error: Git: Path /etc/NetworkManager/system-connections/how.nmconnection is invalid or not present
Error: Path not in repository
The version control stuff works fine when the repo is not '/'.
Edited by Doug Maxey