zlacker

[parent] [thread] 2 comments
1. wrs+(OP)[view] [source] 2026-02-03 20:51:43
jj already pretty much does that with the oplog. A consistent way of making new snapshots in the background would be nice though. (Currently you have to run a jj command — any jj command — to capture the working directory.)
replies(2): >>stavro+ia >>sfink+mi
2. stavro+ia[view] [source] 2026-02-03 21:43:59
>>wrs+(OP)
I don't think you have to, you can run the integrated watcher, no?
3. sfink+mi[view] [source] 2026-02-03 22:27:22
>>wrs+(OP)
You can configure watchman to do it. `fsmonitor.watchman.register-snapshot-trigger = true`

I don't recommend it, though, at least not on large repositories. Too much opportunity to collide with command-line jj write operations.

[go to top]