Inaccurate documentation for core.hooksPath?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

This documentation says that git only looks for hooks in the
configured core.hooksPath:
https://github.com/git/git/blob/master/Documentation/config/core.txt#L499-L504

However, in my testing, git will run both hooks located in the
core.hooksPath directory and in the local git repo hooks directory
(.git/hooks by default). Observation of this behavior is documented in
https://github.com/cloud-gov/caulking/issues/37.

Is the behavior I'm seeing the actually expected behavior of git? Or
are we somehow relying on an edge-case or buggy behavior?

Thanks,
Mark




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux