| 1773 | } |
| 1774 | |
| 1775 | int wt_status_check_bisect(const struct worktree *wt, |
| 1776 | struct wt_status_state *state) |
| 1777 | { |
| 1778 | struct stat st; |
| 1779 | |
| 1780 | if (!wt) |
| 1781 | BUG("wt_status_check_bisect() called with NULL worktree"); |
| 1782 | |
| 1783 | if (!stat(worktree_git_path(wt, "BISECT_LOG"), &st)) { |
| 1784 | state->bisect_in_progress = 1; |
| 1785 | state->bisecting_from = get_branch(wt, "BISECT_START"); |
| 1786 | return 1; |
| 1787 | } |
| 1788 | return 0; |
| 1789 | } |
| 1790 | |
| 1791 | static void wt_status_check_sparse_checkout(struct repository *r, |
| 1792 | struct wt_status_state *state) |
no test coverage detected