Hacker News new | ask | show | jobs
by steveklabnik 64 days ago
The others use `jj status`, but if I were to do this, I'd use `jj log -n0`, which has no output. All you really need is any read-only jj command.

You could also turn on watchman and have this property on every save of a file and not even need to worry about hooks.

1 comments

`jj util snapshot` sounds like it was meant for this.
I know there was a debug command that would do it, but that was considered an unstable interface. That sounds like a better command, I’ll have to check it out, thanks!