Description
Type: Bug
Reproduce:
- Click on VScodes bottom status bar Git branch segment, then click "Create new branch...", enter branch named
This branch has "double quotes"
Note, this creates a branch called (via escaping)
This-branch-has-"double-quotes"
-
Switch to a different branch (eg master)
-
On VScode Gitlens "Branches" panel, right click on the test branch just created and select "Delete Branch...", then confirm the branch deletion - the following output appears in the VScode terminal showing the delete failed
git -C "/myproject" -c "core.editor=code -- wait --reuse-window" branch --delete This-branch-has-"double-quotes"
error: branch 'This-branch-has-double-quotes' not found.
- Manually editing the above shell command to escape the quotes works, ie
git -C "/myproject" -c "core.editor=code -- wait --reuse-window" branch --delete This-branch-has-"double-quotes"
Deleted branch This-branch-has-"double-quotes" (was 9495762d).
Extension version: 13.4.0
VS Code version: Code 1.76.2 (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:54:09.061Z)
OS version: Darwin x64 22.3.0
Modes:
Sandboxed: No
Remote OS version: Linux x64 5.15.49-linuxkit
Connection to 'dev-container+2f55736572732f53746576652f7265706f732f6c7563696665722f666173742d6465762d636f6e7461696e6572732f666173742e6c726f776f726b6572' could not be established
Connection to 'dev-container+2f55736572732f53746576652f7265706f732f6c7563696665722f666173742d6465762d636f6e7461696e6572732f666173742e6d65646961' could not be established
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
Load (avg) | 2, 2, 2 |
Memory (System) | 64.00GB (1.07GB free) |
Process Argv | --crash-reporter-id 30a098bd-a960-4180-b1ce-56b74d95c381 |
Screen Reader | no |
VM | 0% |
Item | Value |
---|---|
Remote | Dev Container: Lucifer Git DevContainer |
OS | Linux x64 5.15.49-linuxkit |
CPUs | Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (6 x 2304) |
Memory (System) | 31.36GB (21.49GB free) |
VM | 0% |
Connection to 'dev-container+2f55736572732f53746576652f7265706f732f6c7563696665722f666173742d6465762d636f6e7461696e6572732f666173742e6c726f776f726b6572' could not be established
Connection to 'dev-container+2f55736572732f53746576652f7265706f732f6c7563696665722f666173742d6465762d636f6e7461696e6572732f666173742e6d65646961' could not be established
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30610678
pyindex848:30662994
nodejswelcome1:30587005
2e4cg342:30602488
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
azdwalk:30687957
pythonms35cf:30686773