Skip to content

Unstage selected range from wsl fails #93

@zoltanbedi

Description

@zoltanbedi

Issue Type: Bug

Trying to unstage a selected range fails with path problem if connected to wsl.

git log

git add -A -- /mnt/c/dev/GitHub/sensenet/sn-client/examples/sn-dms-demo/cypress/integration/documents/documents.spec.ts
git status -z -u
git symbolic-ref --short HEAD
git rev-parse feature/e2e
git rev-parse --symbolic-full-name feature/e2e@{u}
git rev-list --left-right feature/e2e...refs/remotes/origin/feature/e2e
git for-each-ref --format %(refname) %(objectname) --sort -committerdate
git remote --verbose
git show :examples/sn-dms-demo/cypress/integration/documents/documents.spec.ts
git ls-tree -l HEAD -- /mnt/c/dev/GitHub/sensenet/sn-client/examples/sn-dms-demo/cypress/integration/documents/documents.spec.ts
git show 76a82d8cf83a87b38f6916c1ee5906fe94ca97f8
git ls-files --stage -- /mnt/c/dev/GitHub/sensenet/sn-client/examples/sn-dms-demo/cypress/integration/documents/documents.spec.ts
git cat-file -s eefa75c6205d5ed455250826542d419baabd0b50
git show eefa75c6205d5ed455250826542d419baabd0b50
git show HEAD:examples/sn-dms-demo/cypress/integration/documents/documents.spec.ts
git show :examples/sn-dms-demo/cypress/integration/documents/documents.spec.ts
git hash-object --stdin -w --path ../../../../Users/bediz/.vscode-insiders/extensions/ms-vscode-remote.remote-wsl-0.32.0//mnt/c/dev/GitHub/sensenet/sn-client/examples/sn-dms-demo/cypress/integration/documents/documents.spec.ts
git ls-tree -l HEAD -- ../../../../Users/bediz/.vscode-insiders/extensions/ms-vscode-remote.remote-wsl-0.32.0//mnt/c/dev/GitHub/sensenet/sn-client/examples/sn-dms-demo/cypress/integration/documents/documents.spec.ts
fatal: ../../../../Users/bediz/.vscode-insiders/extensions/ms-vscode-remote.remote-wsl-0.32.0//mnt/c/dev/GitHub/sensenet/sn-client/examples/sn-dms-demo/cypress/integration/documents/documents.spec.ts: '../../../../Users/bediz/.vscode-insiders/extensions/ms-vscode-remote.remote-wsl-0.32.0//mnt/c/dev/GitHub/sensenet/sn-client/examples/sn-dms-demo/cypress/integration/documents/documents.spec.ts' is outside repository
git update-index --cacheinfo 100644 77b0e529a515ce729ca2a28878fae2badee7c931
../../../../Users/bediz/.vscode-insiders/extensions/ms-vscode-remote.remote-wsl-0.32.0//mnt/c/dev/GitHub/sensenet/sn-client/examples/sn-dms-demo/cypress/integration/documents/documents.spec.ts
error: Invalid path '../../../../Users/bediz/.vscode-insiders/extensions/ms-vscode-remote.remote-wsl-0.32.0//mnt/c/dev/GitHub/sensenet/sn-client/examples/sn-dms-demo/cypress/integration/documents/documents.spec.ts'
fatal: git update-index: --cacheinfo cannot add ../../../../Users/bediz/.vscode-insiders/extensions/ms-vscode-remote.remote-wsl-0.32.0//mnt/c/dev/GitHub/sensenet/sn-client/examples/sn-dms-demo/cypress/integration/documents/documents.spec.ts

VS Code version: Code - Insiders 1.34.0-insider (473af338e1bd9ad4d9853933da1cd9d5d9e07dc9, 2019-05-01T00:22:05.899Z)
OS version: Windows_NT x64 10.0.17763
Remote OS version: Linux x64 4.4.0-17763-Microsoft

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 x 4200)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.94GB (10.03GB free)
Process Argv --folder-uri vscode-remote://wsl%2Bdefault/mnt/c/dev/GitHub/sensenet/sn-client
Screen Reader no
VM 0%
Item Value
Remote WSL
OS Linux x64 4.4.0-17763-Microsoft
CPUs Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 x 4200)
Memory (System) 31.94GB (10.03GB free)
VM 0%
Extensions (26)
Extension Author (truncated) Version
vscode-eslint dba 1.8.2
gitlens eam 9.6.3
EditorConfig Edi 0.13.0
vscode-npm-script eg2 0.3.5
prettier-vscode esb 1.9.0
shell-format fox 4.0.10
docthis joe 0.7.1
graphql-for-vscode kum 1.13.1
csharp ms- 1.19.0
Go ms- 0.10.2
vscode-typescript-tslint-plugin ms- 1.0.0
vsliveshare ms- 1.0.125
vscode-versionlens pfl 0.23.0
LiveServer rit 5.6.1
markdown-all-in-one yzh 2.3.1
es7-react-js-snippets dsz 2.2.2
vscode-great-icons emm 2.1.47
remote-containers ms- 0.48.0
remote-ssh ms- 0.34.0
remote-ssh-edit ms- 0.34.0
remote-ssh-explorer ms- 0.34.0
remote-wsl ms- 0.32.0
vscode-remote-extensionpack ms- 0.12.0
debugger-for-chrome msj 4.11.3
vscode-docker Pet 0.6.1
code-settings-sync Sha 3.2.9

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)git

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions