pull-all silently checks out default branch #48

Closed
opened 2026-06-20 17:36:41 +01:00 by vnprc-agent · 0 comments
Contributor

pull-all switches repos from non-default branches to the default branch when the non-default branch has no unpushed commits. This mutates state without warning and there is no help text documenting the behavior.

Running pull-all while on agent/parallelize-pull-all in allod/tools switched it to master with no indication that a branch change happened (only "up to date [master]").

The branch-switching behavior should be opt-in behind a flag (e.g. --checkout-default), not the default. The tool also needs --help output describing what it does.

`pull-all` switches repos from non-default branches to the default branch when the non-default branch has no unpushed commits. This mutates state without warning and there is no help text documenting the behavior. Running `pull-all` while on `agent/parallelize-pull-all` in `allod/tools` switched it to `master` with no indication that a branch change happened (only "up to date [master]"). The branch-switching behavior should be opt-in behind a flag (e.g. `--checkout-default`), not the default. The tool also needs `--help` output describing what it does.
vnprc closed this issue 2026-06-20 18:11:46 +01:00
Sign in to join this conversation.
No description provided.