Skip to main content

parse_ls_remote

Function parse_ls_remote 

Source
pub fn parse_ls_remote(out: &str, tag: &str) -> Option<String>
Expand description

The commit tag peels to, out of git ls-remote --tags <remote> refs/tags/<tag> refs/tags/<tag>^{}. The peeled line wins over the tag object’s own.