feat(dolt): auto-commit write commands and set explicit commit authors (#1270)
Adds Dolt auto-commit functionality for write commands and sets explicit commit authors. Includes fix for race condition in commandDidWrite (converted to atomic.Bool). Original PR: #1267 by @coffeegoddd Co-authored-by: Dustin Brown <dustin@dolthub.com>
This commit is contained in:
@@ -456,11 +456,14 @@ See [MULTI_REPO_MIGRATION.md](MULTI_REPO_MIGRATION.md) for complete guide.
|
||||
|
||||
### Automatic Sync (Default)
|
||||
|
||||
**With daemon running:**
|
||||
**With daemon running (SQLite backend):**
|
||||
- Export to JSONL: 30-second debounce after changes
|
||||
- Import from JSONL: when file is newer than DB
|
||||
- Commit/push: configurable via `--auto-commit` / `--auto-push`
|
||||
|
||||
**Note:** `--auto-commit` here refers to **git commits** (typically to the sync branch).
|
||||
For the Dolt backend, use `dolt.auto-commit` / `--dolt-auto-commit` to control **Dolt history commits**.
|
||||
|
||||
**30-second debounce provides transaction window:**
|
||||
- Multiple changes within 30s get batched
|
||||
- Single JSONL export/commit for the batch
|
||||
|
||||
Reference in New Issue
Block a user