File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 54455445 "scope": "window",
54465446 "order": 110
54475447 },
5448+ "gitlens.advanced.realpath": {
5449+ "type": "boolean",
5450+ "default": false,
5451+ "markdownDescription": "[Experimental] Specifies whether to resolve symbolic links when determining file paths for Git operations",
5452+ "scope": "window",
5453+ "order": 115
5454+ },
54485455 "gitlens.advanced.commits.delayLoadingFileDetails": {
54495456 "type": "boolean",
54505457 "default": false,
55585565 "scope": "window",
55595566 "order": 70
55605567 },
5561- "gitlens.realpath": {
5562- "type": "boolean",
5563- "default": false,
5564- "markdownDescription": "[Experimental] Specifies whether to resolve symbolic links when determining file paths for Git operations",
5565- "scope": "window",
5566- "order": 80
5567- },
55685568 "gitlens.insiders": {
55695569 "deprecationMessage": "Deprecated. Use the pre-release edition of GitLens instead",
55705570 "markdownDeprecationMessage": "Deprecated. Use the pre-release of GitLens instead"
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ export interface Config {
4343 readonly proxy : ProxyConfig | null ;
4444 readonly rebaseEditor : RebaseEditorConfig ;
4545 readonly remotes : RemotesConfig [ ] | null ;
46- readonly realpath : boolean ;
4746 readonly showWhatsNewAfterUpgrades : boolean ;
4847 readonly sortBranchesBy : BranchSorting ;
4948 readonly sortContributorsBy : ContributorSorting ;
@@ -209,6 +208,7 @@ export interface AdvancedConfig {
209208 readonly quickPick : {
210209 readonly closeOnFocusOut : boolean ;
211210 } ;
211+ readonly realpath : boolean ;
212212 readonly repositorySearchDepth : number | null ;
213213 readonly similarityThreshold : number | null ;
214214}
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ export class GitUri extends (Uri as any as UriEx) {
252252 if ( isGitUri ( uri ) ) return uri ;
253253
254254 // Check for symbolic links (Node.js only)
255- if ( configuration . get ( 'realpath' ) && ! isWeb && uri . scheme === 'file' ) {
255+ if ( configuration . get ( 'advanced. realpath' ) && ! isWeb && uri . scheme === 'file' ) {
256256 try {
257257 const { realpathSync } = await import ( 'fs' ) ;
258258 const realPath = realpathSync ( uri . fsPath ) ;
You can’t perform that action at this time.
0 commit comments