Follow-up from #374 (Copilot review). The git handler at `src/handlers/git.js` has no automated test coverage — the recent #371 (CORS) and #373 (multi-slash) fixes were verified by hand with curl + a local boot.
Suggested coverage
Shape
Probably an integration test along the lines of `test/idp.test.js` — boot a temp `createServer({ git: true, public: true, root: tmpDir })`, init a bare repo at `tmpDir/repo.git`, hit it with `fetch`. Already a working pattern in this repo for HTTP-level tests.
Refs
Follow-up from #374 (Copilot review). The git handler at `src/handlers/git.js` has no automated test coverage — the recent #371 (CORS) and #373 (multi-slash) fixes were verified by hand with curl + a local boot.
Suggested coverage
Shape
Probably an integration test along the lines of `test/idp.test.js` — boot a temp `createServer({ git: true, public: true, root: tmpDir })`, init a bare repo at `tmpDir/repo.git`, hit it with `fetch`. Already a working pattern in this repo for HTTP-level tests.
Refs
git-protocolheader in CORS preflight responses #371 — Git-Protocol CORS header