spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / diff / hooks / limits / sizes / max-pathspec-chars / max-pathspec-chars.ts
9 lines · 370 BRaw
1/**
2 * How many characters of paths one git child is handed on its command
3 * line; the rest are asked of a further child.
4 *
5 * Windows holds a whole command line to 32,767 characters and doubles a
6 * quote or a backslash it has to escape: twice this, the quotes around each
7 * path and the leading arguments stay under it.
8 */
9export const MAX_PATHSPEC_CHARS = 12_000