pub fn notes_value_to_ref(val: &str) -> String
Map a format.notes / --notes= value to a full notes ref (refs/notes/<x> unless already a full refs/... ref). An empty value or true means the default refs/notes/commits.
format.notes
--notes=
refs/notes/<x>
refs/...
true
refs/notes/commits