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 / telemetry / hooks / context / vcs-of / vcs-markers / vcs-markers.ts
14 lines · 386 BRaw
1/**
2 * The entries that mark a working directory as a version-control checkout,
3 * each with the system it names, in the CLI's own order.
4 */
5export const VCS_MARKERS: readonly (readonly [string, string])[] = [
6 ['.git', 'git'],
7 ['.hg', 'mercurial'],
8 ['.svn', 'svn'],
9 ['.p4config', 'perforce'],
10 ['$tf', 'tfs'],
11 ['.tfvc', 'tfs'],
12 ['.jj', 'jujutsu'],
13 ['.sl', 'sapling'],
14]