apuimedo / pagure

Forked from pagure 5 years ago
Clone

a5677e9 Fix pushing merge commits to the original repo

Authored and Committed by pingou 7 years ago
    Fix pushing merge commits to the original repo
    
    For some reason pygit2 wasn't properly creating the local reference to
    be pushed to the main repo. With this commit we enforce that all merge
    commits use a local reference that is then pushed to the target branch.
    
    Fixes https://pagure.io/pagure/issue/1190
    Fixes https://pagure.io/pagure/issue/2119
    
    Thanks to @puiterwijk for the team work on tackling this one
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+3 -0