Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git: Initialize Repository button does not refresh state if git.autoRepositoryDetection is set to false #179481

Closed
kanlukasz opened this issue Apr 7, 2023 · 1 comment · Fixed by #200957
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug git GIT issues insiders-released Patch has been released in VS Code Insiders papercut 🩸 A particularly annoying issue impacting someone on the team verified Verification succeeded

Comments

@kanlukasz
Copy link

kanlukasz commented Apr 7, 2023

Does this issue occur when all extensions are disabled?:

  • Yes

VS Code Version:

Version: 1.77.1
Commit: b7886d7461186a5eac768481578c1d7ca80e2d21
Date: 2023-04-04T23:21:11.906Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: No

OS Version:

  • Microsoft Windows 11 Pro
  • 10.0.22621 N/A Build 22621

Description:

Not sure if this is intended behavior or not but I think if I use the Initialize Repository button it should create and show the repository.
If git.autoRepositoryDetection is set to false, the repository is actually created but nothing is shown in VsCode
I understand that this option is for auto-detect and it's kind of logical, but should it affect the Initialize Repository action?

Steps to Reproduce:

aaaaa333333

@lszomoru
Copy link
Member

@kanlukasz, thank you very much for filing this issue. Setting git.autoRepositoryDetection to false disables repository detection independent whether it already exists or it has been created using VS Code. While this is the intended behaviour, I agree that we could probably make this experience better.

@lszomoru lszomoru added git GIT issues papercut 🩸 A particularly annoying issue impacting someone on the team labels May 17, 2023
@lszomoru lszomoru added the bug Issue identified by VS Code Team member as probable bug label Dec 5, 2023
@lszomoru lszomoru added this to the December / January 2024 milestone Dec 15, 2023
@VSCodeTriageBot VSCodeTriageBot added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Dec 15, 2023
@rzhao271 rzhao271 added the verified Verification succeeded label Jan 25, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jan 30, 2024
@aiday-mar aiday-mar added this to the December / January 2024 milestone Feb 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug git GIT issues insiders-released Patch has been released in VS Code Insiders papercut 🩸 A particularly annoying issue impacting someone on the team verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants