]> git.ipfire.org Git - thirdparty/git.git/commit
scalar: enable built-in FSMonitor on `register`
authorMatthew John Cheetham <mjcheetham@outlook.com>
Thu, 18 Aug 2022 21:40:51 +0000 (21:40 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Aug 2022 04:35:32 +0000 (21:35 -0700)
commit3f1917dc608021d7e94f4aaed9ecc9f58f9e32a4
treea42aedac912ddea3d15c6f78287a73ebb80496f0
parentd934a11c718f35f5593cfb49da994b43e74dd940
scalar: enable built-in FSMonitor on `register`

Using the built-in FSMonitor makes many common commands quite a bit
faster. So let's teach the `scalar register` command to enable the
built-in FSMonitor and kick-start the fsmonitor--daemon process (for
convenience).

For simplicity, we only support the built-in FSMonitor (and no external
file system monitor such as e.g. Watchman).

Helped-by: Junio C Hamano <gitster@pobox.com>
Helped-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/scalar/scalar.c
contrib/scalar/t/t9099-scalar.sh