From 9f5fe0864b61c69907d69213b665600c5ebdfb5a Mon Sep 17 00:00:00 2001 From: Jacob Casper Date: Fri, 10 Apr 2020 16:22:04 -0500 Subject: [PATCH] Make post-receive executable --- templates/hooks/post-receive | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 templates/hooks/post-receive diff --git a/templates/hooks/post-receive b/templates/hooks/post-receive old mode 100644 new mode 100755 index 8847b24..abedfa7 --- a/templates/hooks/post-receive +++ b/templates/hooks/post-receive @@ -1,3 +1,4 @@ -while read OLD_REV NEW_REF REF_NAME; do +#!/bin/bash +while read OLD_REV NEW_REV REF_NAME; do git push public $NEW_REV:$REF_NAME done -- 2.20.1