aboutsummaryrefslogtreecommitdiffstats
path: root/hook.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-12-15 17:54:27 -0800
committerJunio C Hamano <gitster@pobox.com>2024-12-15 17:54:28 -0800
commite6663b9ac58a64bd9712a10e28764f54ac6f9434 (patch)
tree87bb4e7c05f97a3db96960c9b1fb6705c1283488 /hook.c
parentMerge branch 'jc/forbid-head-as-tagname' (diff)
parentadvice: suggest using subcommand "git config set" (diff)
downloadgit-e6663b9ac58a64bd9712a10e28764f54ac6f9434.tar.gz
git-e6663b9ac58a64bd9712a10e28764f54ac6f9434.zip
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"
Diffstat (limited to 'hook.c')
-rw-r--r--hook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hook.c b/hook.c
index a9320cb0ce..9ddbdee06d 100644
--- a/hook.c
+++ b/hook.c
@@ -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);
}
}