Make post-receive executable
authorJacob Casper <dev@jacobcasper.com>
Fri, 10 Apr 2020 21:22:04 +0000 (16:22 -0500)
committerJacob Casper <dev@jacobcasper.com>
Fri, 10 Apr 2020 21:41:02 +0000 (16:41 -0500)
templates/hooks/post-receive [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 8847b24..abedfa7
@@ -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
   git push public $NEW_REV:$REF_NAME
 done