salimma / pagure

Forked from pagure 3 years ago
Clone

07b517e Get the default branch of the target repo when linking for new PR

1 file Authored by pingou 3 years ago, Committed by pingou 3 years ago,
    Get the default branch of the target repo when linking for new PR
    
    Rather than assuming the default branch is the same in the source
    and the target repo, we generate the new PR url using the default
    branch of the target repo.
    
    Fixes https://pagure.io/pagure/issue/5086
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+5 -3