#2946 Refresh the PR cache of the parent repo rather than always the current one
Merged by pingou. Opened by pingou.
fix_default_hook  into  master

Download 2946.patch

If the current project is a fork, we want to refresh the cache of the main
project and otherwise, we fall back to refreshing the cache of the current
project.

Fixes https://pagure.io/pagure/issue/2940

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

rebased onto 60b4f1867161436906f30427120de5b3a316665c

:thumbsup:

Thanks !

Pull-Request has been merged by pingou

Metadata