For consistency with other hooks, allow the hook to be activated by renaming pre-receive.sample to pre-receive without a separate step to mark it executable. Signed-off-by: Anders Kaseorg <andersk@xxxxxxx> --- templates/hooks--pre-receive.sample | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 templates/hooks--pre-receive.sample diff --git a/templates/hooks--pre-receive.sample b/templates/hooks--pre-receive.sample old mode 100644 new mode 100755 -- 2.10.1