Skip to content

Warp git status and diff tracking fails in Claude Code worktree mode (-w) #10134

@martinmoen0

Description

@martinmoen0

Summary

Warp does not surface branch git status or file diffs when working in Claude Code worktree mode (claude code -w), which blocks using that workflow in Warp.

Problem

In Warp, repositories opened through Claude Code worktree mode are not handled correctly for git-aware UI features. The terminal can still run git commands, but Warp is not able to follow the active worktree state for branch status and changed-file diffs.

Expected behavior

When using claude code -w, Warp should detect and track the active git worktree the same way it tracks a standard repository, including current branch status and file diff visibility.

Actual behavior

Warp is not able to handle Claude Code worktree mode for git tracking surfaces. Current branch status and file diff information are not available in Warp for that worktree flow.

Reproduction steps or desired workflow

  1. Open a repository in Warp.
  2. Start Claude Code in worktree mode using claude code -w.
  3. Make or inspect changes in that worktree.
  4. Check Warp git-aware surfaces for current branch status and file diffs.
  5. Observe that Warp does not provide branch status/diff tracking for this worktree mode.

Artifacts

None attached

Warp version

v0.2026.04.29.08.57.stable_01

Operating system

macOS 26.4.1 (build 25E253)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agentAgent workflows, conversations, prompts, cloud mode, and AI-specific UI.area:code-reviewGit diff views, review UI, review comments, and PR-focused agent flows.area:workspaceFile tree, workspace navigation, project switching, and working-directory management.bugSomething isn't working.os:macmacOS-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions