Git - remove commands that are not used (#237368)

Git -  remove commands that are not used
This commit is contained in:
Ladislau Szomoru
2025-01-06 22:17:09 +01:00
committed by GitHub
parent 28cb527948
commit fc4e78cbfe
5 changed files with 5 additions and 74 deletions

View File

@@ -86,7 +86,7 @@ export class GitTimelineItem extends TimelineItem {
if (hash) {
this.tooltip.appendMarkdown(`---\n\n`);
this.tooltip.appendMarkdown(`[\`$(git-commit) ${getCommitShortHash(uri, hash)} \`](command:git.viewCommit2?${encodeURIComponent(JSON.stringify([uri, hash]))} "${l10n.t('View Commit')}")`);
this.tooltip.appendMarkdown(`[\`$(git-commit) ${getCommitShortHash(uri, hash)} \`](command:git.viewCommit?${encodeURIComponent(JSON.stringify([uri, hash]))} "${l10n.t('View Commit')}")`);
this.tooltip.appendMarkdown(' ');
this.tooltip.appendMarkdown(`[$(copy)](command:git.copyContentToClipboard?${encodeURIComponent(JSON.stringify(hash))} "${l10n.t('Copy Commit Hash')}")`);
}