In all of these calls we're doing object.peel(pygit2.Commit) to retrieve the first commit object related to the object itself.
pygit2's documentation describes .peel() as: Object.peel(target_type) → Object Peel the current object and returns the first object of the given type
Fixes https://pagure.io/pagure/issue/4325
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
@pingou I don't see a test run for it?
It's there now :)
rebased onto 91cec1b16b99fe69c7b8705b86ef404078aef103
:thumbsup:
Pull-Request has been merged by pingou
In all of these calls we're doing object.peel(pygit2.Commit) to retrieve
the first commit object related to the object itself.
pygit2's documentation describes .peel() as:
Object.peel(target_type) → Object
Peel the current object and returns the first object of the given type
Fixes https://pagure.io/pagure/issue/4325
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr