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 54525452 "scope": "window",
54535453 "order": 110
54545454 },
5455+ "gitlens.advanced.realpath": {
5456+ "type": "boolean",
5457+ "default": false,
5458+ "markdownDescription": "[Experimental] Specifies whether to resolve symbolic links when determining file paths for Git operations",
5459+ "scope": "window",
5460+ "order": 115
5461+ },
54555462 "gitlens.advanced.commits.delayLoadingFileDetails": {
54565463 "type": "boolean",
54575464 "default": false,
55655572 "scope": "window",
55665573 "order": 70
55675574 },
5568- "gitlens.realpath": {
5569- "type": "boolean",
5570- "default": false,
5571- "markdownDescription": "[Experimental] Specifies whether to resolve symbolic links when determining file paths for Git operations",
5572- "scope": "window",
5573- "order": 80
5574- },
55755575 "gitlens.insiders": {
55765576 "deprecationMessage": "Deprecated. Use the pre-release edition of GitLens instead",
55775577 "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