]> git.ipfire.org Git - thirdparty/git.git/commit
fsmonitor: option to allow fsmonitor to run against network-mounted repos
authorEric DeCosta <edecosta@mathworks.com>
Thu, 11 Aug 2022 23:57:11 +0000 (23:57 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Aug 2022 04:03:09 +0000 (21:03 -0700)
commit85dc0da6dcf21801149e747310d087abe26b2354
treec555a341bc4c6c57ca153b0be8fcb73ae11e66d2
parent5502f77b6944eda8e26813d8f542cffe7d110aea
fsmonitor: option to allow fsmonitor to run against network-mounted repos

Though perhaps not common, there are use cases where users have large,
network-mounted repos. Having the ability to run fsmonitor against
network paths would benefit those users.

Most modern Samba-based filers have the necessary support to enable
fsmonitor on network-mounted repos. As a first step towards enabling
fsmonitor to work against network-mounted repos, introduce a
configuration option, 'fsmonitor.allowRemote'. Setting this option to
true will override the default behavior (erroring-out) when a
network-mounted repo is detected by fsmonitor.

Signed-off-by: Eric DeCosta <edecosta@mathworks.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/fsmonitor/fsm-settings-win32.c