ok/jj
1
0
Fork 0
forked from mirrors/jj

docs(fsmonitor): add filesystem monitor/Watchman documentation

This commit is contained in:
Waleed Khan 2023-07-08 12:23:09 +03:00
parent cf1e1ddc2e
commit f15c1d3c53
2 changed files with 25 additions and 0 deletions

View file

@ -121,6 +121,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* `jj branch list` can now be filtered by revset.
* Initial support for the Watchman filesystem monitor. Set
`core.fsmonitor = "watchman"` in your repo to enable.
### Fixed bugs
* Modify/delete conflicts now include context lines

View file

@ -448,6 +448,28 @@ branches. Since the local branch isn't created, the remote branch will be
deleted if you push the branch with `jj git push --branch` or `jj git push
--all`.
## Filesystem monitor
In large repositories, it may be beneficial to use a "filesystem monitor" to
track changes to the working copy. This allows `jj` to take working copy
snapshots without having to rescan the entire working copy.
### Watchman
The [Watchman filesystem monitor](https://facebook.github.io/watchman/) is
currently only enabled if you compile jj with the `watchman` feature, such as
with the following invocation:
```shell
cargo install --git https://github.com/martinvonz/jj.git --locked --bin jj jujutsu --features watchman
```
To configure the Watchman filesystem monitor, set
`core.fsmonitor = "watchman"`. Ensure that you have [installed the Watchman
executable on your system](https://facebook.github.io/watchman/docs/install)).
Debugging commands are available under `jj debug watchman`.
# Alternative ways to specify configuration settings
Instead of `~/.jjconfig.toml`, the config settings can be located under