Roo-Code/src
Roo Code 4e9cb4dc3b fix: allow checkpoints when workspace has no root .git but has sibling git repos
This fixes issue #10636 where opening a parent folder containing multiple
sibling projects (e.g., frontend and backend) with their own independent
git repositories would incorrectly be detected as "nested" git repositories.

The fix modifies getNestedGitRepository() in ShadowCheckpointService to:
- First check if the workspace root has its own .git directory
- If no root .git exists, return null (allow checkpoints) since subdirectory
  git repos are independent sibling projects, not truly nested
- Only continue checking for nested repos when root HAS .git (true nesting)

Also adds a test case to verify this scenario works correctly.
2026-01-12 15:08:36 +00:00
..
__mocks__ Add timeout to OpenAI Compatible Provider Client (#9898) 2025-12-08 17:36:53 -08:00
__tests__ feat: add optional mode field to slash command front matter (#10344) 2025-12-26 17:17:54 -08:00
activate chore: remove human-relay provider (#10388) 2025-12-30 15:38:46 -07:00
api chore: disable edit_file tool for Gemini/Vertex (#10594) 2026-01-09 21:24:15 -05:00
assets Show the Roo provider on the welcome screen (#8317) 2025-09-25 16:13:04 -04:00
core fix: make edit_file matching more resilient (#10585) 2026-01-09 20:32:13 -05:00
extension feat: streaming tool stats + token usage throttling (#9926) 2025-12-08 19:40:12 -08:00
i18n feat: improve error messaging for stream termination errors from provider (#10548) 2026-01-09 10:03:12 -05:00
integrations Add some functionality to @roo-code/core for the cli (#10584) 2026-01-09 13:05:15 -08:00
services fix: allow checkpoints when workspace has no root .git but has sibling git repos 2026-01-12 15:08:36 +00:00
shared Add some functionality to @roo-code/core for the cli (#10584) 2026-01-09 13:05:15 -08:00
types feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
utils Move more types to @roo-code/types (for the cli) (#10583) 2026-01-09 11:59:06 -08:00
workers Count tokens worker (#3037) 2025-04-29 12:29:25 -07:00
.gitignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.prettierignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.vscodeignore debug: Add ErrorBoundary component for better error handling (#5085) 2025-07-23 08:45:35 -04:00
esbuild.mjs feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
eslint.config.mjs Fix linter errors (#3821) 2025-05-21 23:16:43 -07:00
extension.ts feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.json Changeset version bump (#10609) 2026-01-10 13:35:16 -05:00
package.nls.ca.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.de.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.es.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.fr.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.hi.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.id.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.it.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.ja.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.ko.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.nl.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.pl.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.pt-BR.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.ru.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.tr.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.vi.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.zh-CN.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.zh-TW.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
tsconfig.json Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vitest.config.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00
vitest.setup.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00