| 1918 | } th_gitctx_probe_t; |
| 1919 | |
| 1920 | static DWORD WINAPI th_gitctx_probe_thread(LPVOID arg) { |
| 1921 | th_gitctx_probe_t *p = (th_gitctx_probe_t *)arg; |
| 1922 | cbm_git_context_t ctx; |
| 1923 | memset(&ctx, 0, sizeof(ctx)); |
| 1924 | int rc = cbm_git_context_resolve(p->path, &ctx); |
| 1925 | p->resolved_ok = (rc == 0 && ctx.is_git) ? 1 : 0; |
| 1926 | cbm_git_context_free(&ctx); |
| 1927 | return 0; |
| 1928 | } |
| 1929 | #endif |
| 1930 | |
| 1931 | /* The load-bearing end-to-end repro of #798: while the single-threaded UI server |
nothing calls this directly
no test coverage detected