Merge branch 'bf/explicit-config-set-in-advice-messages'

The advice messages now tell the newer 'git config set' command to
set the advice.token configuration variable to squelch a message.

* bf/explicit-config-set-in-advice-messages:
  advice: suggest using subcommand "git config set"
This commit is contained in:
Junio C Hamano
2024-12-15 17:54:27 -08:00
19 changed files with 27 additions and 27 deletions

2
hook.c
View File

@@ -39,7 +39,7 @@ const char *find_hook(struct repository *r, const char *name)
advise(_("The '%s' hook was ignored because "
"it's not set as executable.\n"
"You can disable this warning with "
"`git config advice.ignoredHook false`."),
"`git config set advice.ignoredHook false`."),
path.buf);
}
}