[O] Better multithreaded logging

This commit is contained in:
2026-05-06 20:19:13 +00:00
parent bb991d94f0
commit 92bcee49ea
3 changed files with 199 additions and 24 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ Control repo-level parallelism:
git-sync sync --jobs 8
```
Repository logs are prefixed while jobs run concurrently, so interleaved output remains attributable. The default is 4 workers; use `--jobs 1` for serial sync.
While jobs run, the bottom of the terminal shows one live status line per worker. When a repository finishes, its detailed log is printed as one complete block above those status lines. The default is 4 workers; use `--jobs 1` for serial sync.
`git-sync` stores a small ref cache in the work directory. On later runs it first checks each repository with `git ls-remote --heads --tags`; when all endpoints report the same refs as the last successful sync, it skips the full fetch/push pass for that repository.