Defaults stashes format to ${filePath}

Adds message when there are no stashes
Cleans up the stash explorer
This commit is contained in:
Eric Amodio
2017-08-27 04:15:21 -04:00
parent bcd83566a1
commit ef41176ea7
6 changed files with 30 additions and 36 deletions

View File

@@ -420,8 +420,8 @@
},
"gitlens.stashExplorer.stashFileFormat": {
"type": "string",
"default": "${file} \u00a0\u2022\u00a0 ${path}",
"description": "Specifies the format of a stashed file in the `Git Stashes` explorer\nAvailable tokens\n ${file} - file name\n ${path} - file path"
"default": "${filePath}",
"description": "Specifies the format of a stashed file in the `Git Stashes` explorer\nAvailable tokens\n ${file} - file name\n ${filePath} - file name and path\n ${path} - file path"
},
"gitlens.statusBar.enabled": {
"type": "boolean",
@@ -1161,11 +1161,12 @@
},
{
"command": "gitlens.gitExplorer.refresh",
"when": "gitlens:enabled"
"when": "false"
},
},
{
"command": "gitlens.stashExplorer.refresh",
"when": "gitlens:enabled"
"when": "false"
},
{
"command": "gitlens.stashExplorer.openChanges",