Roo-Code/src
Roo Code ae669364a9 fix: allow checkpoints when workspace root has no .git but subdirs have git repos
This fixes issue #10125 where users could not enable checkpoints when
opening a parent folder containing multiple sibling projects (e.g.,
frontend and backend), each with their own git repositories.

The previous behavior blocked checkpoints whenever any nested .git
directory was detected. This change modifies the detection logic to:

1. Check if the workspace root has its own .git directory first
2. If the root has NO .git, allow checkpoints since subdirectory git
   repos are independent projects (not truly nested)
3. Only block checkpoints when the root HAS a .git AND there are nested
   .git directories (true nesting scenario like git submodules)

The subdirectory .git folders are already excluded from tracking via
the existing .git/ pattern in the exclude patterns.

Closes #10125
2025-12-16 12:58:05 +00:00
..
__mocks__ Add timeout to OpenAI Compatible Provider Client (#9898) 2025-12-08 17:36:53 -08:00
__tests__ feat: streaming tool stats + token usage throttling (#9926) 2025-12-08 19:40:12 -08:00
activate Remove Glama provider (#9801) 2025-12-10 14:08:29 -08:00
api feat: enable native tools by default for multiple providers (#10059) 2025-12-15 21:37:00 -08:00
assets Show the Roo provider on the welcome screen (#8317) 2025-09-25 16:13:04 -04:00
core feat(anthropic): enable native tools by default and add telemetry tracking (#10021) 2025-12-15 21:32:44 -08:00
extension feat: streaming tool stats + token usage throttling (#9926) 2025-12-08 19:40:12 -08:00
i18n fix: handle empty Gemini responses and reasoning loops (#10007) 2025-12-11 08:55:47 -08:00
integrations feat(read-file): implement incremental token-budgeted file reading (#10052) 2025-12-15 14:41:42 -08:00
services fix: allow checkpoints when workspace root has no .git but subdirs have git repos 2025-12-16 12:58:05 +00:00
shared Add config to control public sharing (#10105) 2025-12-15 21:58:15 -05:00
utils feat: sanitize MCP server/tool names for API compatibility (#10054) 2025-12-12 13:46:50 -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 Revert "fix: optimize README for VS Code marketplace to prevent UI freezing" (#6303) 2025-07-28 14:31:01 -04:00
eslint.config.mjs Fix linter errors (#3821) 2025-05-21 23:16:43 -07:00
extension.ts Test a provider-oriented welcome screen (#9484) 2025-11-21 17:37:30 -05:00
package.json Changeset version bump (#10092) 2025-12-15 09:47:42 -05:00
package.nls.ca.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.de.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.es.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.fr.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.hi.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.id.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.it.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.ja.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.ko.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.nl.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.pl.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.pt-BR.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.ru.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.tr.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.vi.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.zh-CN.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.zh-TW.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05: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