summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorAdrian Ratiu <adrian.ratiu@collabora.com>2026-04-10 12:06:04 +0300
committerJunio C Hamano <gitster@pobox.com>2026-04-10 07:58:54 -0700
commit5e57b209ff21bf1087dd8539c458737c89b03150 (patch)
tree4891d525b0762b61c9d1b47b122348ddb6430dc5 /contrib/persistent-https
parent084a55b3adf33f70c84091d5957b8bede9b01174 (diff)
downloadgit-5e57b209ff21bf1087dd8539c458737c89b03150.tar.gz
git-5e57b209ff21bf1087dd8539c458737c89b03150.zip
hook: warn when hook.<friendly-name>.jobs is set
Issue a warning when the user confuses the hook process and event namespaces by setting hook.<friendly-name>.jobs. Detect this by checking whether the name carrying .jobs also has .command, .event, or .parallel configured. Extract is_friendly_name() as a helper for this check, to be reused by future per-event config handling. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions