Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



`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!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: