Git - do not show origin/HEAD ref in the graph (#239842)

This commit is contained in:
Ladislau Szomoru
2025-02-06 21:00:24 +01:00
committed by GitHub
parent abeaa31040
commit b968336efa

View File

@@ -408,6 +408,10 @@ export class GitHistoryProvider implements SourceControlHistoryProvider, FileDec
const references: SourceControlHistoryItemRef[] = [];
for (const ref of commit.refNames) {
if (ref === 'refs/remotes/origin/HEAD') {
continue;
}
switch (true) {
case ref.startsWith('HEAD -> refs/heads/'):
references.push({