microsoft / vscode

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

submodule branch showing is wrong #134854

Closed maheshraotm closed 2 years ago

maheshraotm commented 2 years ago

Issue Type: Bug

sourcecontrol tab is showing wrong branch name for the sbmodules.The last submodule branch name is shown as the top repo branch name.And if you change the submodule branch ,the top repo is also changing

VS Code version: Code 1.61.0 (ee8c7def80afc00dd6e593ef12f37756d8f504ea, 2021-10-07T18:13:09.652Z) OS version: Windows_NT x64 10.0.19042 Restricted Mode: No Remote OS version: Linux x64 4.12.14-122.60-default

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz (8 x 2304)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|15.78GB (7.16GB free)| |Process Argv|--crash-reporter-id d0e00cd0-98d4-4a1f-b55f-14945d7d80ed| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|SSH: sc_pice_session_maheshra| |OS|Linux x64 4.12.14-122.60-default| |CPUs|Intel(R) Xeon(R) W-3245 CPU @ 3.20GHz (16 x 3200)| |Memory (System)|754.27GB (45.66GB free)| |VM|0%|
Extensions (41) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.2.2 vscode-browser-preview|auc|0.7.2 arm|dan|1.5.2 better-cpp-syntax|jef|1.15.10 jupyter-keymap|ms-|1.0.0 remote-containers|ms-|0.202.1 remote-ssh|ms-|0.65.8 remote-ssh-edit|ms-|0.65.8 remote-wsl|ms-|0.58.2 devicetree|plo|0.1.1 linkerscript|Zix|1.0.2 sourcetrail|ast|0.0.2 vscode-doxygen-runner|bet|1.7.2 doxdocgen|csc|1.3.2 meld-diff|dan|1.1.0 vscode-elf-viewer|dev|0.0.4 xml|Dot|2.5.1 gitlens|eam|11.6.1 vscode-pull-request-github|Git|0.31.0 cmake-integration-vscode|go2|0.7.1 global-config|Gru|0.0.16 doxygen-previewer|hak|0.2.3 better-cpp-syntax|jef|1.15.10 git-graph|mhu|1.30.0 xml-format|mik|1.1.2 compare-folders|mos|0.22.2 python|ms-|2021.10.1317843341 vscode-pylance|ms-|2021.10.0 cmake-tools|ms-|1.8.1 cpptools|ms-|1.6.0 cpptools-extension-pack|ms-|1.0.0 hexeditor|ms-|1.8.2 makefile-tools|ms-|0.2.2 vscode-xml|red|0.18.0 bash-debug|rog|0.3.9 perforce|sle|3.2.0 code-spell-checker|str|2.0.10 pdf|tom|1.1.0 devicetree|tro|2.3.1 kconfig-lang|tro|1.2.0 codescope|xul|0.2.0 (2 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 pythonvspyt602:30300191 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyt639:30300192 pythontb:30283811 pythonvspyt551cf:30345471 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30358480 pythondataviewer:30285071 pythonvsuse255:30340121 vscod805cf:30301675 pythonvspyt200:30340761 binariesv615:30325510 vsccppwtct:30378365 pythonvssor306:30344512 bridge0708:30335490 pygetstartedt2:30371810 dockerwalkthru:30377721 bridge0723:30353136 pythonrunftest32:30373476 pythonf5test824:30373475 javagetstartedc:30364665 pythonvspyt187:30373474 pydsgst2:30361792 vsqsis400:30374798 vsaa593cf:30376535 vssld246:30379911 ```
gjsjohnmurray commented 2 years ago

/duplicate

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