| 457 | } |
| 458 | |
| 459 | const char *branch_checked_out(const char *refname) |
| 460 | { |
| 461 | prepare_checked_out_branches(); |
| 462 | return strmap_get(¤t_checked_out_branches, refname); |
| 463 | } |
| 464 | |
| 465 | /* |
| 466 | * Check if a branch 'name' can be created as a new branch; die otherwise. |
no test coverage detected