Open vscodenpa opened 2 years ago
confidence for label git: 0.95. does meet threshold
confidence for assignee joaomoreno: 0.85. does meet threshold
confidence for label git: 0.95. does meet threshold
confidence for assignee joaomoreno: 0.85. does meet threshold
confidence for label git: 0.95. does meet threshold
confidence for assignee joaomoreno: 0.85. does meet threshold
confidence for label git: 0.95. does meet threshold
confidence for assignee joaomoreno: 0.85. does meet threshold
confidence for label git: 0.95. does meet threshold
confidence for assignee joaomoreno: 0.85. does meet threshold
Actual result: Source Control panel displays "The folder currently open doesn't have a git repository".
The actual result is incorrect and misleading.
Git output panel contents: [2022-05-24T16:12:29.235Z] Validating found git in: C:\Program Files\Git\cmd\git.exe [2022-05-24T16:12:29.393Z] Using git 2.36.0.vfs.0.0 from C:\Program Files\Git\cmd\git.exe [2022-05-24T16:12:30.944Z] > git rev-parse --show-toplevel [493ms] [2022-05-24T16:12:30.944Z] fatal: unsafe repository ('C:/dev/xx/ms-tpm-20-ref' is owned by someone else) To add an exception for this directory, call:
Expected result (option 1): VS Code displays message that git encountered an error
Expected result (option 2): VS Code recognizes the unsafe repository and provides instructions for user to rectify the problem.