mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
Git - do not show origin/HEAD ref in the graph (#239842)
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user