| 939 | } |
| 940 | |
| 941 | static int is_current_worktree_ref(const char *ref) { |
| 942 | return is_root_ref_syntax(ref) || is_per_worktree_ref(ref); |
| 943 | } |
| 944 | |
| 945 | enum ref_worktree_type parse_worktree_ref(const char *maybe_worktree_ref, |
| 946 | const char **worktree_name, int *worktree_name_length, |
no test coverage detected