#778 added an extra API so we can query the detail of a commit