diff options
author | Eric DeCosta <edecosta@mathworks.com> | 2022-10-04 20:32:30 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-10-05 21:05:23 +0300 |
commit | 25c2cab08f90b6251b1ace91e37f05d4cb8fcd0c (patch) | |
tree | 50aa0599d99b5c23931aceff95763e4b087464a3 /fsmonitor-settings.h | |
parent | 12fd27df79ac5f2589b54c8f36761d066dc9a97e (diff) |
fsmonitor: check for compatability before communicating with fsmonitor
If fsmonitor is not in a compatible state, warn with an appropriate message.
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 0721617b95..ab02e3995e 100644 --- a/fsmonitor-settings.h +++ b/fsmonitor-settings.h @@ -33,7 +33,7 @@ enum fsmonitor_mode fsm_settings__get_mode(struct repository *r); const char *fsm_settings__get_hook_path(struct repository *r); enum fsmonitor_reason fsm_settings__get_reason(struct repository *r); -char *fsm_settings__get_incompatible_msg(const struct repository *r, +char *fsm_settings__get_incompatible_msg(struct repository *r, enum fsmonitor_reason reason); struct fsmonitor_settings; |