vscode 始终显示传入的更改并不总是显示传入的更改

1cosmwyk  于 6个月前  发布在  Vscode
关注(0)|答案(2)|浏览(76)

I just set both incoming and outgoing to always using the git menu like this:

However, no incoming changes are shown. git log :

kgqe7b3p

kgqe7b3p1#

以下是文本内容的翻译结果:

一些git日志:

2024-02-20 15:11:14.619 [trace] [swf] Scan workspace folders: []
2024-02-20 15:11:15.143 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/alexr00/resulting-tahr refs/remotes/alexr00/resulting-tahr [482ms]
2024-02-20 15:11:15.149 [info] > git rev-parse --show-toplevel [355ms]
2024-02-20 15:11:15.149 [trace] Repository root for path d:\repos\Microsoft\vscode\.github is: d:\repos\Microsoft\vscode
2024-02-20 15:11:15.149 [trace] Repository for path d:\repos\Microsoft\vscode already exists: d:\repos\Microsoft\vscode
2024-02-20 15:11:15.149 [trace] Opening repository: d:\repos\Microsoft\vscode\.profile-oss
2024-02-20 15:11:15.563 [info] > git status -z -uall [414ms]
2024-02-20 15:11:15.565 [trace] GitHistoryProvider:onDidRunGitStatus - HEAD: {"type":0,"name":"alexr00/resulting-tahr","commit":"dc31267dbafe9cb630d5b01be802faa8bacf2551","ahead":0,"behind":0}
2024-02-20 15:11:15.565 [trace] GitHistoryProvider:onDidRunGitStatus - repository.HEAD: {"type":0,"name":"alexr00/resulting-tahr","commit":"dc31267dbafe9cb630d5b01be802faa8bacf2551","ahead":0,"behind":0}
2024-02-20 15:11:15.565 [trace] GitHistoryProvider:onDidRunGitStatus - HEAD has not changed
2024-02-20 15:11:15.565 [trace] Operation end: Status (blocking: false, readOnly: false; retry: false; showProgress: true)
2024-02-20 15:11:15.575 [info] > git rev-parse --show-toplevel [295ms]
2024-02-20 15:11:15.575 [trace] Repository root for path d:\repos\Microsoft\vscode\.profile-oss is: d:\repos\Microsoft\vscode
2024-02-20 15:11:15.575 [trace] Repository for path d:\repos\Microsoft\vscode already exists: d:\repos\Microsoft\vscode
2024-02-20 15:11:15.575 [trace] Opening repository: d:\repos\Microsoft\vscode\.vscode
2024-02-20 15:11:15.828 [info] > git rev-parse --show-toplevel [190ms]
2024-02-20 15:11:15.828 [trace] Repository root for path d:\repos\Microsoft\vscode\.vscode is: d:\repos\Microsoft\vscode
2024-02-20 15:11:15.828 [trace] Repository for path d:\repos\Microsoft\vscode already exists: d:\repos\Microsoft\vscode
2024-02-20 15:11:15.828 [trace] Opening repository: d:\repos\Microsoft\vscode\.vscode-test
2024-02-20 15:11:16.021 [info] > git rev-parse --show-toplevel [155ms]
2024-02-20 15:11:16.021 [trace] Repository root for path d:\repos\Microsoft\vscode\.vscode-test is: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.021 [trace] Repository for path d:\repos\Microsoft\vscode already exists: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.021 [trace] Opening repository: d:\repos\Microsoft\vscode\build
2024-02-20 15:11:16.152 [info] > git rev-parse --show-toplevel [118ms]
2024-02-20 15:11:16.152 [trace] Repository root for path d:\repos\Microsoft\vscode\build is: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.152 [trace] Repository for path d:\repos\Microsoft\vscode already exists: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.152 [trace] Opening repository: d:\repos\Microsoft\vscode\cli
2024-02-20 15:11:16.277 [info] > git rev-parse --show-toplevel [117ms]
2024-02-20 15:11:16.277 [trace] Repository root for path d:\repos\Microsoft\vscode\cli is: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.277 [trace] Repository for path d:\repos\Microsoft\vscode already exists: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.278 [trace] Opening repository: d:\repos\Microsoft\vscode\extensions
2024-02-20 15:11:16.385 [info] > git rev-parse --show-toplevel [96ms]
2024-02-20 15:11:16.386 [trace] Repository root for path d:\repos\Microsoft\vscode\extensions is: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.386 [trace] Repository for path d:\repos\Microsoft\vscode already exists: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.386 [trace] Opening repository: d:\repos\Microsoft\vscode\out
2024-02-20 15:11:16.478 [info] > git rev-parse --show-toplevel [84ms]
2024-02-20 15:11:16.478 [trace] Repository root for path d:\repos\Microsoft\vscode\out is: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.478 [trace] Repository for path d:\repos\Microsoft\vscode already exists: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.478 [trace] Opening repository: d:\repos\Microsoft\vscode\remote
2024-02-20 15:11:16.538 [trace] [swf] Scan workspace folders: []
2024-02-20 15:11:16.600 [info] > git rev-parse --show-toplevel [115ms]
2024-02-20 15:11:16.600 [trace] Repository root for path d:\repos\Microsoft\vscode\remote is: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.600 [trace] Repository for path d:\repos\Microsoft\vscode already exists: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.601 [trace] Opening repository: d:\repos\Microsoft\vscode\resources
2024-02-20 15:11:16.710 [info] > git rev-parse --show-toplevel [96ms]
2024-02-20 15:11:16.710 [trace] Repository root for path d:\repos\Microsoft\vscode\resources is: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.710 [trace] Repository for path d:\repos\Microsoft\vscode already exists: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.710 [trace] Opening repository: d:\repos\Microsoft\vscode\scripts
2024-02-20 15:11:16.782 [info] > git rev-parse --show-toplevel [66ms]
2024-02-20 15:11:16.782 [trace] Repository root for path d:\repos\Microsoft\vscode\scripts is: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.782 [trace] Repository for path d:\repos\Microsoft\vscode already exists: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.782 [trace] Opening repository: d:\repos\Microsoft\vscode\src
2024-02-20 15:11:16.850 [info] > git rev-parse --show-toplevel [64ms]
2024-02-20 15:11:16.850 [trace] Repository root for path d:\repos\Microsoft\vscode\src is: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.851 [trace] Repository for path d:\repos\Microsoft\vscode already exists: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.851 [trace] Opening repository: d:\repos\Microsoft\vscode\test
2024-02-20 15:11:16.926 [info] > git rev-parse --show-toplevel [70ms]
2024-02-20 15:11:16.926 [trace] Repository root for path d:\repos\Microsoft\vscode\test is: d:\repos\Microsoft\vscode
2024-02-20 15:11:16.926 [trace] Repository for path d:\repos\Microsoft\vscode already exists: d:\repos\Microsoft\vscode
2024-02-20 15:11:17.371 [trace] Operation start: Config (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:11:17.772 [info] > git config --local branch.alexr00/resulting-tahr.github-pr-owner-number [405ms]
2024-02-20 15:11:17.773 [warning] git config failed: Failed to execute git
2024-02-20 15:11:17.773 [trace] Operation end: Config (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:11:17.786 [trace] Operation start: Config (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:11:17.982 [info] > git config --local branch.alexr00/resulting-tahr.remote [195ms]
2024-02-20 15:11:17.982 [warning] git config failed: Failed to execute git
2024-02-20 15:11:17.982 [trace] Operation end: Config (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:11:17.992 [trace] Operation start: Config (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:11:18.225 [info] > git config --local branch.alexr00/resulting-tahr.merge [233ms]
2024-02-20 15:11:18.225 [warning] git config failed: Failed to execute git
2024-02-20 15:11:18.226 [trace] Operation end: Config (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:11:31.027 [trace] [swf] Scan workspace folders: []
2024-02-20 15:11:38.349 [trace] [svte] Scan visible text editors. autoRepositoryDetection=true
2024-02-20 15:11:39.275 [trace] [svte] Scan visible text editors. autoRepositoryDetection=true
2024-02-20 15:11:40.110 [trace] [svte] Scan visible text editors. autoRepositoryDetection=true
2024-02-20 15:11:41.419 [trace] [svte] Scan visible text editors. autoRepositoryDetection=true
2024-02-20 15:12:13.138 [trace] Operation start: GetBranch (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:12:13.258 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/alexr00/resulting-tahr [120ms]
2024-02-20 15:12:13.259 [trace] Operation end: GetBranch (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:12:13.267 [trace] Operation start: GetBranch (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:12:13.382 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/alexr00/resulting-tahr [115ms]
2024-02-20 15:12:13.383 [trace] Operation end: GetBranch (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:12:13.389 [trace] Operation start: Config (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:12:13.458 [info] > git config --local branch.alexr00/resulting-tahr.vscode-merge-base [70ms]
2024-02-20 15:12:13.459 [trace] Operation end: Config (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:12:13.465 [trace] Operation start: GetBranch (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:12:13.562 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/origin/alexr00/mammoth-lark refs/remotes/origin/alexr00/mammoth-lark [97ms]
2024-02-20 15:12:13.562 [trace] Operation end: GetBranch (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:12:13.570 [trace] Operation start: MergeBase (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:12:13.647 [info] > git merge-base refs/heads/alexr00/resulting-tahr refs/remotes/origin/alexr00/mammoth-lark [77ms]
2024-02-20 15:12:13.647 [trace] Operation end: MergeBase (blocking: false, readOnly: true; retry: false; showProgress: true)
2024-02-20 15:12:13.653 [trace] Operation start: RevList (blocking: false, readOnly: true; retry: false; showProgress: false)
2024-02-20 15:12:13.730 [info] > git -c core.longpaths=true rev-list --count --left-right refs/heads/alexr00/resulting-tahr...refs/remotes/origin/alexr00/mammoth-lark [76ms]
2024-02-20 15:12:13.730 [trace] Operation end: RevList (blocking: false, readOnly: true; retry: false; showProgress: false)
2024-02-20 15:12:13.730 [trace] GitHistoryProvider:resolveHistoryItemGroupCommonAncestor - Resolved common ancestor for 'refs/heads/alexr00/resulting-tahr' and 'refs/remotes/origin/alexr00/mammoth-lark': {"id":"dc31267dbafe9cb630d5b01be802faa8bacf2551","ahead":0,"behind":0}
2024-02-20 15:12:13.766 [trace] [swf] Scan workspace folders: []
2024-02-20 15:12:17.032 [trace] [svte] Scan visible text editors. autoRepositoryDetection=true
2024-02-20 15:12:17.032 [trace] [svte] Repository for editor resource d:\repos\Microsoft\vscode\src\vs\workbench\contrib\markdown\browser\markdownSettingRenderer.ts already exists: d:\repos\Microsoft\vscode
2024-02-20 15:12:17.547 [trace] Operation start: CheckIgnore (blocking: false, readOnly: true; retry: false; showProgress: false)
2024-02-20 15:12:17.811 [info] > git check-ignore -v -z --stdin [263ms]
2024-02-20 15:12:17.811 [trace] Operation end: CheckIgnore (blocking: false, readOnly: true; retry: false; showProgress: false)
2024-02-20 15:12:18.149 [trace] Operation start: Show (blocking: false, readOnly: true; retry: false; showProgress: false)
2024-02-20 15:12:18.160 [trace] Operation start: GetObjectDetails (blocking: false, readOnly: true; retry: false; showProgress: false)
2024-02-20 15:12:18.280 [info] > git show --textconv :src/vs/workbench/contrib/markdown/browser/markdownSettingRenderer.ts [130ms]
2024-02-20 15:12:18.280 [info] > git ls-files --stage -- D:\repos\Microsoft\vscode\src\vs\workbench\contrib\markdown\browser\markdownSettingRenderer.ts [120ms]
2024-02-20 15:12:18.291 [trace] Operation end: Show (blocking: false, readOnly: true; retry: false; showProgress: false)
2024-02-20 15:12:18.388 [info] > git cat-file -s 5193d73e16406707e1c9a3f1874e39ee3d0da876 [98ms]
2024-02-20 15:12:18.389 [trace] Operation end: GetObjectDetails (blocking: false, readOnly: true; retry: false; showProgress: false)
2024-02-20 15:12:20.028 [debug] [wt] Change: d:\repos\Microsoft\vscode\src\vs\workbench\contrib\markdown\browser\markdownSettingRenderer.ts
2024-02-20 15:12:20.060 [debug] [wt] Change: d:\repos\Microsoft\vscode\src\vs\workbench\contrib\markdown\browser\markdownSettingRenderer.ts
2024-02-20 15:12:20.911 [debug] [wt] Change: d:\repos\Microsoft\vscode\.build\log
2024-02-20 15:12:20.911 [debug] [wt] Change: d:\repos\Microsoft\vscode\out\vs\workbench\contrib\markdown\browser\markdownSettingRenderer.js
2024-02-20 15:12:21.920 [trace] Operation start: Status (blocking: false, readOnly: false; retry: false; showProgress: true)
2024-02-20 15:12:22.012 [info] > git config --get commit.template [79ms]
2024-02-20 15:12:22.050 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/alexr00/resulting-tahr refs/remotes/alexr00/resulting-tahr [103ms]
2024-02-20 15:12:22.188 [info] > git status -z -uall [132ms]
2024-02-20 15:12:22.193 [trace] GitHistoryProvider:onDidRunGitStatus - HEAD: {"type":0,"name":"alexr00/resulting-tahr","commit":"dc31267dbafe9cb630d5b01be802faa8bacf2551","ahead":0,"behind":0}
2024-02-20 15:12:22.193 [trace] GitHistoryProvider:onDidRunGitStatus - repository.HEAD: {"type":0,"name":"alexr00/resulting-tahr","commit":"dc31267dbafe9cb630d5b01be802faa8bacf2551","ahead":0,"behind":0}
2024-02-20 15:12:22.193 [trace] GitHistoryProvider:onDidRunGitStatus - HEAD has not changed
2024-02-20 15:12:22.193 [trace] Operation end: Status (blocking: false, readOnly: false; retry: false; showProgress: true)
2024-02-20 15:12:34.779 [trace] [swf] Scan workspace folders: []
2024-02-20 15:12:39.807 [trace] [swf] Scan workspace folders: []
b09cbbtk

b09cbbtk2#

很好的捕获!在我们的最后一个里程碑中,我们已经更改了"Incoming Changes"节点的行为,使其仅在本地分支有上游时才进行渲染。在您的案例中,本地分支没有上游,因此即使您将scm.showIncomingChanges设置为always,我们也无法显示一个"Incoming Changes"节点。我知道这可能会引起困惑,所以我会把它放在待办事项列表中,并在我们继续完善"Incoming/Outgoing"部分时再次回顾。

相关问题