microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.03k stars 28.8k forks source link

Souce Control showing wrong branch #134998

Closed vek-emilsonmoraes closed 2 years ago

vek-emilsonmoraes commented 2 years ago

Issue Type: Bug

In Source Control TAG, changing the 1st repository branch to any, the 8th repository above, shows like changing the branch to the same branch as the 1st one.

VS Code version: Code 1.61.0 (ee8c7def80afc00dd6e593ef12f37756d8f504ea, 2021-10-07T18:11:58.853Z) OS version: Darwin x64 20.6.0 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|3, 3, 3| |Memory (System)|16.00GB (0.16GB free)| |Process Argv|--crash-reporter-id 791dfb5e-1ae7-44d3-8bdc-f90bfb24f31b| |Screen Reader|no| |VM|0%|
Extensions (62) Extension|Author (truncated)|Version ---|---|--- editing-snippets-with-yaml|74t|1.1.0 commit-message-editor|ada|0.19.1 yaml2json|ahe|0.0.3 emoji-log-vscode|ahm|1.0.0 project-manager|ale|12.4.0 aws-toolkit-vscode|ama|1.30.0 cform|aws|0.0.24 path-intellisense|chr|2.4.0 gitignore|cod|0.7.0 bracket-pair-colorizer|Coe|1.0.61 meld-diff|dan|1.2.1 vscode-markdownlint|Dav|0.44.4 xml|Dot|2.5.1 cloudformation-yaml-snippets|dst|3.35.0 gitlens|eam|11.6.1 json-tools|eri|1.0.2 git-project-manager|fel|1.7.1 docker-explorer|for|0.1.7 terminal|for|0.0.10 vscode-sort|hen|0.2.5 yaml-plus-json|hil|1.8.0 vscode-git-tags|how|1.4.4 kubernetes-snippets|ipe|0.1.9 jenkinsfile-support|ivo|1.1.0 yaml-path-extractor|jtc|0.0.1 package-plus-plus|jun|0.0.1 aws-cli-configure|mar|0.3.0 git-graph|mhu|1.30.0 vscode-docker|ms-|1.17.0 vscode-language-pack-pt-BR|MS-|1.61.5 vscode-kubernetes-tools|ms-|1.3.3 remote-containers|ms-|0.202.3 remote-ssh|ms-|0.65.8 remote-ssh-edit|ms-|0.65.8 remote-wsl|ms-|0.58.2 vscode-remote-extensionpack|ms-|0.21.0 vs-keybindings|ms-|0.2.1 sqltools|mtx|0.23.0 gradle-language|nac|0.2.3 remote-kubernetes|Okt|0.3.4 vscode-yaml-sort|Pas|5.1.0 material-icon-theme|PKi|4.10.0 logstash|Ran|0.0.4 vscode-commons|red|0.0.6 vscode-xml|red|0.18.0 vscode-yaml|red|0.23.0 vscode-sort-json|ric|1.20.0 LiveServer|rit|5.6.1 kubernetes-file-system-explorer|san|1.0.23 git-merger|sha|0.4.1 git-prefix|srm|1.2.0 tabnine-vscode|Tab|3.4.30 prop2yaml|tan|0.0.6 shellcheck|tim|0.17.0 sort-lines|Tyr|1.9.0 vscodeintellicode|Vis|1.2.14 vscode-java-dependency|vsc|0.18.8 gitmoji-vscode|Vtr|1.0.9 gitblame|wad|8.1.0 Java-extension-pack|wal|0.0.3 vscode-todo-highlight|way|1.0.4 vscode-open-in-github|ziy|1.3.6 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 pythonvspyt602:30300191 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vstes627:30244334 pythonvspyt639:30300192 pythontb:30283811 pythonvspyt551:30345470 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 pythonvsuse255:30340121 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 vsccppwtct:30378365 pythonvssor306:30344512 bridge0708:30335490 pygetstartedt2:30371810 dockerwalkthru:30377721 bridge0723:30353136 pythonrunftest32:30373476 pythonf5test824:30373475 javagetstartedt:30364666 pythonvspyt187:30373474 vsqsis200cf:30381675 vsaa593cf:30376535 vssld246:30379911 ```
zyzski commented 2 years ago

experiencing the same issue. source control seems to update more often (any time the app regains focus?) and sometimes displays the same branch name for multiple repos

RogierVC commented 2 years ago

Yeah, same here and while syncing, the focus changes from one commit message field to the other, breaking my commit message in half

gjsjohnmurray commented 2 years ago

/duplicate

See https://github.com/microsoft/vscode/issues/134638#issuecomment-938471497 for a workaround.

Scheduled to be fixed in upcoming recovery release.