[O] Better multithreaded logging
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user