If head is undefined, the ajax request listing the branches available for PRs will fail because the branch_to argument will be None and thus ignored while it's actually required.
head
branch_to
None
Fixes https://pagure.io/pagure/issue/3305
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
rebased onto 5baca220eefea36855310b99ff4f566c24e6344c
:thumbsup:
rebased onto a67e81b8d0d35a823f1d90e55caf9aa9d6360ac4
Thanks for the review!
Pull-Request has been merged by pingou
If
headis undefined, the ajax request listing the branches availablefor PRs will fail because the
branch_toargument will beNoneandthus ignored while it's actually required.
Fixes https://pagure.io/pagure/issue/3305
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr