Merge branch 'hn/parse-worktree-ref'

Code and semantics cleaning. * hn/parse-worktree-ref: refs: unify parse_worktree_ref() and ref_type()

Junio C Hamano committed Oct 10, 2022 at 10:08 UTC 38bb92cf46be5cb2a217bd58c4359024918bd31a

No changes.