Skip to content

git colocation: support child workspaces - #9982

Open
calebdw wants to merge 1 commit into
calebdw/push-knxntmowqsrrfrom
calebdw/push-trvorlkwymyk
Open

git colocation: support child workspaces#9982
calebdw wants to merge 1 commit into
calebdw/push-knxntmowqsrrfrom
calebdw/push-trvorlkwymyk

Conversation

@calebdw

@calebdw calebdw commented Aug 13, 2026

Copy link
Copy Markdown
Member

jj git colocation status now correctly identifies child workspaces backed by Git worktrees (gitlink files) as colocated and includes the workspace name in its output.

jj git colocation enable and disable now work on child workspaces. For child workspaces, enable creates a Git worktree and disable removes it, allowing colocation to be toggled after workspace creation.

The is_colocated_git_workspace check now recognizes .git files (gitlinks) as indicating a colocated git worktree.

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added/updated tests to cover my changes
  • I fully understand the code that I am submitting (what it does,
    how it works, how it's organized), including any code drafted by an LLM.
  • For any prose generated by an LLM, I have proof-read and copy-edited with
    an eye towards deleting anything that is irrelevant, clarifying anything
    that is confusing, and adding details that are relevant. This includes,
    for example, commit descriptions, PR descriptions, and code comments.

@calebdw
calebdw requested a review from a team as a code owner August 13, 2026 16:00
`jj git colocation status` now correctly identifies child workspaces
backed by Git worktrees (gitlink files) as colocated and includes the
workspace name in its output.

`jj git colocation enable` and `disable` now work on child workspaces.
For child workspaces, `enable` creates a Git worktree and `disable`
removes it, allowing colocation to be toggled after workspace creation.

The `is_colocated_git_workspace` check now recognizes `.git` files
(gitlinks) as indicating a colocated git worktree.
@calebdw
calebdw force-pushed the calebdw/push-trvorlkwymyk branch from a786e6a to 212b57c Compare August 13, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant