瀏覽代碼

Adds compare w/ HEAD/Working to file/line history

main
Eric Amodio 3 年之前
父節點
當前提交
c81cb9e6ae
共有 1 個檔案被更改,包括 10 行新增0 行删除
  1. +10
    -0
      package.json

+ 10
- 0
package.json 查看文件

@ -8032,6 +8032,16 @@
"group": "3_gitlens_explore@1"
},
{
"command": "gitlens.views.compareWithHead",
"when": "view =~ /^gitlens\\.views\\.(fileHistory|lineHistory)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/",
"group": "4_gitlens_compare@2"
},
{
"command": "gitlens.views.compareWithWorking",
"when": "view =~ /^gitlens\\.views\\.(fileHistory|lineHistory)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/",
"group": "4_gitlens_compare@3"
},
{
"command": "gitlens.views.applyChanges",
"when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+stashed\\b)/",
"group": "1_gitlens_actions@1"

Loading…
取消
儲存