pub fn from_v2_refs(in_refs: &mut dyn BufRead) -> Result<Vec<Ref>, Error>
Parse refs from the given input line by line. Protocol V2 is required for this to succeed.