From aed0e106f2f132bfeb5f7f1bda071f82a4ee35b5 Mon Sep 17 00:00:00 2001 From: "Chris K.Y. FUNG" <8746768+chriskyfung@users.noreply.github.com> Date: Fri, 6 Dec 2024 13:55:21 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BBchore(vscode):?= =?UTF-8?q?=20add=20new=20branch=20in=20Git=20Graph=20onLoad=20settings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit introduces a new feature by adding a 'Branches' section under the 'Settings' in the .vscode/settings.json file. The addition allows for specifying - Add new branch settings in VSCode settings.json This commit adds a new section for branches under the 'Branches' setting in the .vscode/settings.json file. The new setting allows for specifying a more comprehensive glob pattern to include all branches, enhancing the visibility and management of branches within the Git graph. --- .vscode/settings.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index d5180d09..ec093900 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -24,6 +24,10 @@ "name": "No origin/gh-pages", "glob": "remotes/origin/[^g][^h]*[^s]" }, + { + "name": "Branches", + "glob": "*/*" + }, { "name": "Stashes", "glob": "stash" @@ -36,8 +40,7 @@ "git-graph.repository.onLoad.showSpecificBranches": [ "master", "remotes/origin/master", - "--glob=heads/[^g][^h]*[^s]", - "--glob=remotes/origin/[^g][^h]*[^s]", + "--glob=*/*", "--glob=stash", "--glob=tags/*" ],