Adds Refresh command to most custom view items

Updates custom view when repo changes (brute force for now)
This commit is contained in:
Eric Amodio
2017-09-03 12:59:16 -04:00
parent d31eb25451
commit 04df931902
3 changed files with 29 additions and 7 deletions

View File

@@ -1611,6 +1611,11 @@
"command": "gitlens.showQuickFileHistory",
"when": "gitlens:isTracked && view == gitlens.gitExplorer && viewItem == gitlens:stash-file",
"group": "5_gitlens@1"
},
{
"command": "gitlens.gitExplorer.refresh",
"when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem != gitlens:commit-file && viewItem != gitlens:stash-file",
"group": "9_gitlens@1"
}
]
},