| 2028 | } th_gitctx_probe_t; |
| 2029 | |
| 2030 | static DWORD WINAPI th_gitctx_probe_thread(LPVOID arg) { |
| 2031 | th_gitctx_probe_t *p = (th_gitctx_probe_t *)arg; |
| 2032 | cbm_git_context_t ctx; |
| 2033 | memset(&ctx, 0, sizeof(ctx)); |
| 2034 | int rc = cbm_git_context_resolve(p->path, &ctx); |
| 2035 | p->resolved_ok = (rc == 0 && ctx.is_git) ? 1 : 0; |
| 2036 | cbm_git_context_free(&ctx); |
| 2037 | return 0; |
| 2038 | } |
| 2039 | #endif |
| 2040 | |
| 2041 | /* The load-bearing end-to-end repro of #798: while the single-threaded UI server |
nothing calls this directly
no test coverage detected