Merge branch 'dm/run-command-ignored-hook-advise'
authorJunio C Hamano <gitster@pobox.com>
Mon, 6 Nov 2017 05:24:22 +0000 (14:24 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Nov 2017 05:24:22 +0000 (14:24 +0900)
A hook script that is set unexecutable is simply ignored. Git
notifies when such a file is ignored, unless the message is
squelched via advice.ignoredHook configuration.

* dm/run-command-ignored-hook-advise:
run-command: add hint when a hook is ignored

1  2 
contrib/completion/git-completion.bash
index 0e16f017a4144220043d27e0c1556a6d1edbdf01,a331ccc556b011f3e21b8df5aa49ef1bd8481d5b..fcd83311a36191d7a540c411ce99f02fda57c1b3
@@@ -1385,7 -1385,7 +1385,7 @@@ _git_describe (
                __gitcomp "
                        --all --tags --contains --abbrev= --candidates=
                        --exact-match --debug --long --match --always --first-parent
 -                      --exclude
 +                      --exclude --dirty --broken
                        "
                return
        esac
@@@ -2350,6 -2350,7 +2350,7 @@@ _git_config (
                advice.rmHints
                advice.statusHints
                advice.statusUoption
+               advice.ignoredHook
                alias.
                am.keepcr
                am.threeWay