Repository navigation
Parallel agents on big repos: gft up, diff, --json, faster ls and land, renames, folder 3-way merge - #13
Conversation
…d, renames, folder 3-way merge, home copy fixes - gft up remounts copies after a restart; commands remount the copy they work on - ls checks copies in parallel, drops same-bytes overlaps, flags unmounted copies; --json on ls, status, changes - gft diff [A [B]]; changes/diff between copies on different commits - sync merges into upstream's new name for renamed files, sets aside local git commits, works in the home copy - plain folders merge three ways on sync; land's refusal points at sync - the home copy shows its own changes in status; new --from HOME copies them - land puts text files inline in the tree, in batches, instead of a blob call each - a second get of a same-named repository uses OWNER-NAME workspaces; get names where an existing project is - rm --delete-branch; drop takes the home folder name - README: the pitch, when plain git is better, history on demand with git fetch --deepen Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01CboUL9BU7nvDEZKfQBSkkq
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3358736b92
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…cutable bit, merge only regular files in folders Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01CboUL9BU7nvDEZKfQBSkkq
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5d5183c384
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… conflicts with renames, never merge through a renamed link Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01CboUL9BU7nvDEZKfQBSkkq
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 77d01b6588
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…quests, mount the home copy for new --from HOME Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01CboUL9BU7nvDEZKfQBSkkq
The should-fix and nice-to-have items from the second and third hands-on reviews, plus the positioning change. This is version 0.2.0.
Copies come back and keep up
gft up [NAMES]mounts copies again after a restart. Other commands mount the copy they work on themselves, and say so.lsflags copies whose folder is empty with "not mounted:gft upbrings it back".syncmerges the copy's changes into the new name (git diff -M).syncsets aside commits made with git in the copy (git reset --soft): their changes stay in the files, andgit reflogkeeps them.land's refusal now points atgft sync NAMEinstead of a--forcethatgft landdoesn't have.Home copy
statusin the home copy shows its commit and any files changed there, and says those don't reach copies or land.gft new NAME --from HOMEcopies them.gft syncin the home copy moves it onto the newest commit.gft getof another owner's repository with the same name works: its workspaces becomeOWNER-NAME. A repeatgetof the same repository names where it already is, instead of suggesting a nonexistent--name.Speed
lschecks copies in parallel. It took 30 copies from 0.83 to 0.23 s on 4 cores; the rest is sandfs'schanges, which the sandfs performance work is cutting.landputs text files up to 1 MiB inline in the tree, about 8 MiB per call, instead of one blob call per file.For agents and scripts
--jsononls,statusandchanges.gft diff [A [B]]shows changes line by line.changesanddiffbetween two copies work when they sit on different commits.lsdoesn't count an overlap where both copies have the same bytes.rm --delete-branchdeletes the branch on GitHub once its pull request is merged or closed, and keeps one that is still open or has commits the copy didn't land.dropalso takes the home folder's name.README
git fetch --deepen=N originworks inside a copy (tested).Tests:
copies_come_back_and_follow_upstreamis new. The plain-folder test now covers the three-way merge. The drop test covers same-named repositories and a repeatedget. The closed/merged test coversrm --delete-branch. Locally, all 10 workflow tests and 15 unit tests pass, with folder tests on btrfs.Still open: #12 (undo across a sync that took in merged work).
Generated by Claude Code