605eaa Make the mirroring feature work with older git

Authored and Committed by Pierre-Yves Chibon 6 years ago
    Make the mirroring feature work with older git
    
    The GIT_SSH_COMMAND environment variable was added in 2.10 but we
    want pagure to work with older git version, so we are switching
    to GIT_SSH with a helper script generated on the fly.
    
    In addition, this commit adds the logic to pull all the branches stored
    in pagure so when we push --mirror they are all synced.
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr></pingou@pingoured.fr>
    
        
file modified
+10 -30