| 437 | } |
| 438 | |
| 439 | static int is_head(const char *refname) |
| 440 | { |
| 441 | const char *stripped_refname; |
| 442 | parse_worktree_ref(refname, NULL, NULL, &stripped_refname); |
| 443 | return !strcmp(stripped_refname, "HEAD"); |
| 444 | } |
| 445 | |
| 446 | void reflog_expiry_prepare(const char *refname, |
| 447 | const struct object_id *oid, |
no test coverage detected