bircni
ea2e9aadbb
fix(repo): sync a branch without switching to it
...
tea repo sync ran git switch on the synced branch, so syncing main while
on experiment left the user on main. A branch that is not checked out now
moves with update-ref, guarded by its old value; the checked-out branch
merges with --ff-only and needs a clean working tree; a missing branch is
created and set to track the remote. Diverged branches stay untouched.
Sync reports "✓ Synced main from origin/main (fast-forward a..b)" on a
terminal, "already up to date" when nothing changed, and the JSON result
gains the previous commit. Outside a clone, or without a remote for the
repository, the errors now name repo sync instead of checkout.
Signed-off-by: bircni <bircni@icloud.com >
2026-10-11 23:51:43 +02:00
..
2026-10-11 23:46:26 +02:00
2026-10-11 23:46:26 +02:00
2026-10-11 23:46:26 +02:00
2026-10-11 23:46:26 +02:00
2026-10-11 23:46:26 +02:00
2026-10-11 23:46:57 +02:00
2026-10-11 23:46:57 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 23:46:26 +02:00
2026-10-11 23:46:26 +02:00
2026-10-11 23:42:49 +02:00
2026-10-11 23:42:49 +02:00
2026-10-11 22:55:27 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 23:50:46 +02:00
2026-10-11 23:50:47 +02:00
2026-10-11 23:51:43 +02:00
2026-10-11 23:50:44 +02:00
2026-10-11 23:46:26 +02:00
2026-10-11 22:48:50 +02:00
2026-10-11 23:46:26 +02:00
2026-10-11 23:46:26 +02:00
2026-10-11 23:50:44 +02:00
2026-10-11 23:50:47 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 22:43:11 +02:00
2026-10-11 22:43:11 +02:00
2026-10-11 21:47:06 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 21:44:44 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 23:49:52 +02:00
2026-10-11 23:50:46 +02:00
2026-10-11 23:49:52 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 23:50:44 +02:00
2026-10-11 23:50:44 +02:00
2026-10-11 22:48:50 +02:00
2026-10-11 22:48:50 +02:00
2026-10-11 22:43:11 +02:00
2026-10-11 22:43:11 +02:00
2026-10-11 22:48:50 +02:00
2026-10-11 22:48:50 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 23:50:44 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 23:49:54 +02:00
2026-10-11 22:57:38 +02:00
2026-10-11 23:49:52 +02:00
2026-10-11 23:49:52 +02:00
2026-10-11 22:48:50 +02:00
2026-10-11 23:50:46 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 22:43:10 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 22:43:10 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 23:50:47 +02:00
2026-10-11 23:50:47 +02:00
2026-10-11 23:42:49 +02:00
2026-10-11 23:42:49 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 22:43:11 +02:00
2026-10-11 22:43:11 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 21:49:14 +02:00
2026-10-11 21:49:14 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 22:48:50 +02:00
2026-10-11 22:48:50 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 21:43:32 +02:00
2026-10-11 21:44:44 +02:00
2026-10-11 23:51:43 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 23:51:43 +02:00
2026-10-11 23:51:43 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 23:42:49 +02:00
2026-10-11 23:42:49 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 22:48:49 +02:00
2026-10-11 22:48:49 +02:00
2026-10-11 23:42:49 +02:00
2026-10-11 23:42:49 +02:00
2026-10-11 17:23:06 +00:00
2026-10-11 17:23:06 +00:00
2026-10-11 23:50:46 +02:00
2026-10-11 23:42:49 +02:00
2026-10-11 23:42:49 +02:00
2026-10-11 17:23:06 +00:00