Shotgrid Desktop TankGitError

Hi, we use distributed configs for our pipeline configurations and recently if desktop has already pulled down a version of our git repo and it goes to reload the configuration but there’s been an update to the git repo I get these TankGitErrors.

As far as I’m aware nothing’s changed to cause this.

The only fix I’ve found for this is deleting the .shotgun folder but that’s not exactly a long term solution.

If I run the git command in a terminal it works fine and if I subprocess the same command using Popen and communicate it also works fine with a normal 0 exit code.

Any help would be appreciated.

Side note, there also seems to be a bug where it doesn’t have access to the TankGitError it’s trying to raise.