Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Extension cannot find git repo when VS Code didn't open the git root directory #7964

Copy link
Copy link
@yanli0303

Description

@yanli0303
Issue body actions
  • Extension version: 0.120.0
  • VSCode Version: 1.105.0 (Universal)
    • Commit: 03c265b1adee71ac88f833e065f7bb956b60550a
    • Date: 2025-10-08T14:09:35.891Z
  • OS: Darwin arm64 24.6.0
  • Repository Clone Configuration (single repository/fork of an upstream repository): single repository
  • GitHub Product (GitHub.com/GitHub Enterprise version x.x.x): GitHub.com

Steps to Reproduce:

  1. Git clone a repo

  2. Open a subdirectory of the git clone

  3. This extension shows a blank view, see output log below:

    2025-10-09 16:20:46.001 [info] [Activation] Extension version: 0.120.0
    2025-10-09 16:20:46.113 [info] [Authentication] Creating hub for .com
    2025-10-09 16:20:46.137 [info] [Activation] Looking for git repository
    2025-10-09 16:20:46.137 [info] [Activation] Found 0 repositories during activation
    2025-10-09 16:20:46.137 [info] [Activation] Git repository found, initializing review manager and pr tree view.
    2025-10-09 16:20:46.137 [info] [GitAPI] Registering git provider
    2025-10-09 16:20:46.137 [info] [Activation] Repo file:///Users/me/Desktop/git-clone is not in a workspace folder, ignoring.
    2025-10-09 16:20:46.494 [info] [Activation] Git initialization state changed: state=initialized
    
naopoyo, shajz, DominykasPetke, krgrTwoday, yoonsy and 9 more

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseIssue identified as probable candidate for fixing in the next releaseverifiedVerification succeededVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.