Add fetch-all workspace ref refresh command #101
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/tools#101
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story: So that I can inspect current remote files without mutating local checkouts, the workspace tooling needs a read-only
fetch-allcommand that refreshes refs across repositories.Part of the "Forge / workspace CLI tooling" arc.
Context:
pull-all --switchalready handles the cleanup case where a repo is clean, fully pushed, and should return to its default branch before pulling. The missing companion is a non-mutating workspace command for refreshing remote refs before inspecting files fromorigin/HEAD.Problem: when a repo is on a stale local branch whose upstream was deleted, plain
pull-allfails for that repo. An agent can then incorrectly conclude a requested file is missing if it only inspects the stale checkout. A safefetch-allcommand would update remote refs across the workspace without checking out branches, merging, or requiring clean worktrees.Requested shape:
fetch-allto the workspace tools package.pull-allandwork-diff.git fetch --all --prunefor each repo.PULL_ALL_JOBSor the same concurrency policy aspull-all.Relationship: complements #87. That issue can still redesign
pull-allaround fetch plus fast-forward sync; this issue is for the read-only remote-ref refresh primitive that agents can run before checkingorigin/HEAD:<path>.extract common functions between the
pull-allandfetch-allscripts into a library