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>
This commit is contained in:
committed by
Junio C Hamano
parent
6beb2688d3
commit
8f44976882
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user