]> git.ipfire.org Git - thirdparty/git.git/commit
fsmonitor: avoid socket location check if using hook
authorEric DeCosta <edecosta@mathworks.com>
Tue, 4 Oct 2022 17:32:28 +0000 (17:32 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Oct 2022 18:05:23 +0000 (11:05 -0700)
commit8f44976882b77bb3b9ac0579a04ef05cbea5bdb2
tree9f9d1e59ac4f7a90330d4d5eb142a8abd7e4354a
parent6beb2688d33373508610b190f04721e748caa12c
fsmonitor: avoid socket location check if using hook

If monitoring is done via fsmonitor hook rather than IPC there is no
need to check if the location of the Unix Domain socket (UDS) file is
on a remote filesystem.

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