Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Disabled Diff panel gives no guidance when a project contains nested Git repositories #44025

Closedwroy1005(GitHub profile, opens in a new tab) opened this issue 3 comments

Reproduction

  1. On Windows, open a local folder in T3 Code with this layout:

    workspace/           # T3 project root, no .git
    ├── frontend/        # independent Git repository
    └── backend/         # independent Git repository
  2. In a thread for workspace, edit a tracked file in frontend/.

  3. Confirm the edit with git -C frontend diff.

  4. Open the panel menu in T3 Code.

Actual behavior

Diff is disabled. The menu gives no indication that the edit is in a nested Git repository or how to view it. This makes it easy to think the agent made no changes.

Expected behavior

Keep the parent folder as one project and provide a way to view the child repositories' changes. Ideally, detect the repositories under the workspace and let the user pick one in Diff, or group changed files by repository. If repositories need to be configured explicitly, the disabled state should explain why and point to that setup.

The source control docs describe a repository picker for multi-repo projects. This report is about discovering or reaching that workflow from a plain parent folder. Related: #1453.

  1. tanstack-source added labelsbug

  2. @wroy1005 Which T3 Code version and surface are you on (desktop or web; if desktop, is the server running natively on Windows or inside WSL), and does Settings → Projects → Repositories for the workspace project list frontend and backend?

  3. juliusmarminge added labelsneeds more info

  4. The issue no longer reproduces after updating T3 Code. I can now view diffs for the nested Git repositories from the parent project. Closing as resolved.

  5. juliusmarminge removed labelsneeds more info

  6. This is the same problem as #35925, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.

  7. juliusmarminge closed this

Sign in to join this conversation.