A git-interfaced tool written in Python breaks because of some settings in my local ~/.gitconfig, namely diff.noprefix=True.
I know that I can use something like git -c diff.noprefix=False diff in the call but I fear other things will break in other parts of the tool or on other setups. I have been looking for a --norc or -c /dev/null parameter but didn't find my way in the documentation.
git diff-files,git diff-index, andgit diff-tree) and not the “porcelain” interface (e.g.git diff). The plumbing commands disregard user-preference items likediff.noprefix, so the output formats are stable (across Git versions and also users).