diff options
author | Eric DeCosta <edecosta@mathworks.com> | 2022-10-04 17:32:28 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-10-05 18:05:23 (GMT) |
commit | 8f44976882b77bb3b9ac0579a04ef05cbea5bdb2 (patch) | |
tree | 9f9d1e59ac4f7a90330d4d5eb142a8abd7e4354a /fsmonitor-settings.h | |
parent | 6beb2688d33373508610b190f04721e748caa12c (diff) | |
download | git-8f44976882b77bb3b9ac0579a04ef05cbea5bdb2.zip git-8f44976882b77bb3b9ac0579a04ef05cbea5bdb2.tar.gz git-8f44976882b77bb3b9ac0579a04ef05cbea5bdb2.tar.bz2 |
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>
Diffstat (limited to 'fsmonitor-settings.h')
-rw-r--r-- | fsmonitor-settings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fsmonitor-settings.h b/fsmonitor-settings.h index d9c2605..0721617 100644 --- a/fsmonitor-settings.h +++ b/fsmonitor-settings.h @@ -48,7 +48,7 @@ struct fsmonitor_settings; * fsm_os__* routines should considered private to fsm_settings__ * routines. */ -enum fsmonitor_reason fsm_os__incompatible(struct repository *r); +enum fsmonitor_reason fsm_os__incompatible(struct repository *r, int ipc); #endif /* HAVE_FSMONITOR_OS_SETTINGS */ #endif /* FSMONITOR_SETTINGS_H */ |