Skip to main content

parse_porcelain_z

Function parse_porcelain_z 

Source
pub fn parse_porcelain_z(out: &[u8]) -> Vec<(String, String)>
Expand description

status --porcelain=v1 -z output as (XY, path) pairs. A rename or copy entry is followed by one more NUL-terminated field, its original path, which is skipped: the entry counts once, under its new path.