A kept ref's full name: refs/tarlatan/ and at least one more
character, none of them a newline. The ids inside are checked by
keptRefName before a ref is written; a name read back from git
or the log is only required to sit under the namespace and to hold no
newline, which no ref name holds (git check-ref-format) and which
would split a line of git's listing. Every other character git accepts
is kept, U+2028 and U+2029 among them, which a pattern's . would
refuse (review 3 F4 re-review), so no name git accepts is dropped from
a listing or fails it.
A kept ref's full name:
refs/tarlatan/and at least one more character, none of them a newline. The ids inside are checked by keptRefName before a ref is written; a name read back from git or the log is only required to sit under the namespace and to hold no newline, which no ref name holds (git check-ref-format) and which would split a line of git's listing. Every other character git accepts is kept, U+2028 and U+2029 among them, which a pattern's.would refuse (review 3 F4 re-review), so no name git accepts is dropped from a listing or fails it.