Replying to Ethan Jucovy <ethan.jucovy@…>:
I'm not sure if PyGIT.py is supposed to have no dependencies on Trac core, though — if that's the case then a different approach would be needed.
I'm not sure if the dependency-free PyGIT.py is intentional either (and if keeping it that way is a priority). In this case it wouldn't be that difficult (see attachment:T10819_GitError.diff).
Comparing with SVN highlights another issue with the Git support: No internationalisation.