Friday, February 6, 2015

internal error (got unexpected object kind 'commit')

Trac's Git plugin will sometimes produce error messages on submodules or other obscure Git structures, reporting:
"internal error (got unexpected object kind 'commit')"
when you attempt to browse them. It's suspected this is due to Git submodules.

We fixed this by manually applying this patch to the 0.11 version of the plugin:

I've also added an image of it here, just in case the web site goes away.


No comments: