Skip to main content

normalize_push_refspec

Function normalize_push_refspec 

Source
pub fn normalize_push_refspec(refspec: &str) -> String
Expand description

Normalize a push refspec, expanding short names to refs/heads/<name> on both sides and supplying the source as the destination when none is given, while preserving a leading + force marker.