From: Jacob Casper Date: Fri, 10 Apr 2020 21:22:04 +0000 (-0500) Subject: Make post-receive executable X-Git-Url: https://git.jacobcasper.com/?p=sockgit.git;a=commitdiff_plain;h=9f5fe0864b61c69907d69213b665600c5ebdfb5a Make post-receive executable --- 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