c36800 Fix cloning repo which have a branch named 'origin'

Authored and Committed by Pierre-Yves Chibon 7 years ago
    Fix cloning repo which have a branch named 'origin'
    
    Without limiting the replace, the entire string was replaced and we
    ended up with a name being '' instead of 'origin'.
    
        
file modified
+1 -1