Intent of agentHostGitService.ts ×59
All 45 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/44 tests-
platform/44 tests-
agentHost/44 tests-
test/44 tests-
node/44 tests-
agentHostGitService.test|title=AgentHostGitService parseChangedPaths returns every changed path including delete and index rename/1 test -
agentHostGitService.test|title=AgentHostGitService parseChangedPaths returns worktree rename/1 test -
agentHostGitService.test|title=AgentHostGitService parseDefaultBranchRef returns undefined for empty/1 test -
agentHostGitService.test|title=AgentHostGitService parseDefaultBranchRef strips refs/1 test -
agentHostGitService.test|title=AgentHostGitService parseGitStatusV2 treats (detached) HEAD as no branch and omits upstream/1 test -
agentHostGitService.test|title=AgentHostGitService parseSingleLsTreeEntry parses mode/1 test -
agentHostGitService.test|title=AgentHostGitService parseUntrackedPaths returns empty for empty/1 test -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService exports the well-known empty-tree object SHA|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService filters before sorting common branch names|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService formatGitError falls back to error message when there is no signal or exit code|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService formatGitError keeps missing git-lfs error over the later generic fatal line|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService formatGitError reports kill signal when killed but not by our timer|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService formatGitError reports numeric exit code when git failed normally|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService formatGitError reports timeout when our timer fired and summarises progress-meter stderr|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService orders fetch remote URLs with origin first and excludes push URLs|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseDefaultBranchRef returns the ref as-is when prefix is not present|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitDiffRawNumstat anchors after side to afterRef when provided (ref->ref diffs)|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitDiffRawNumstat parses an add, modify, delete and rename in a single stream|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitDiffRawNumstat returns empty for empty input|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitDiffRawNumstat treats `-` numstat values (binary) as zero|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitHubRepoFromRemote falls back to first github remote when origin is not github|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitHubRepoFromRemote parses https origin remote without .git suffix|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitHubRepoFromRemote parses ssh (scp-like) origin remote|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitHubRepoFromRemote prefers origin over other remotes|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitHubRepoFromRemote returns undefined when no GitHub remote is present|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitHubRepoFromRemote returns undefined when no remotes are present|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitStatusV2 parses a clean checkout with upstream|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitStatusV2 parses a dirty branch ahead and behind upstream|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitStatusV2 returns empty object for undefined input|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseHasGitHubRemote detects https github remote|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseHasGitHubRemote detects ssh github remote|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseHasGitHubRemote returns false for non-github remotes|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseHasGitHubRemote returns false when there are no remotes|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseHasGitHubRemote returns undefined when probe failed (output absent)|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseUntrackedPaths extracts untracked entries and skips others|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService prefers the branch upstream remote before origin|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService preserves git order for non-common branches|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService resolveDiffBaseBranchName prefers the persisted base branch, then git state, then undefined|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService sorts common branch names to the top before applying limit|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService summarizeStderrForError keeps the last non-empty line of a multi-line progress meter|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService summarizeStderrForError passes through a normal single-line message|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService summarizeStderrForError returns empty string for empty input|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService summarizeStderrForError returns empty string for whitespace-only input|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService summarizeStderrForError truncates very long lines with an ellipsis|occurrence=1
-
-
-
-
-
-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostGitService.test|title=AgentHostGitService parseGitHubRepoFromRemote parses ssh:// scheme remote|occurrence=1