From f985decc7edecd2376a4d08cdc29bbf42f18da12 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 7 Jul 2016 18:31:06 -0400 Subject: mv {misc/,}git-shell-commands ; remove everything else --- misc/git-hooks/generic | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 misc/git-hooks/generic (limited to 'misc/git-hooks/generic') diff --git a/misc/git-hooks/generic b/misc/git-hooks/generic deleted file mode 100755 index ebf56f4..0000000 --- a/misc/git-hooks/generic +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# Generic hook, installs itself as a valid githook(5) and runs whatever it -# finds on hacking.hook.$self -# Format: -# hacking.hooks.post-receive.auto-deploy /srv/http/markpower.hackcoop.com.ar - -git config -f config --get-regexp "hacking.hooks.$(basename ${0}).*" | \ -while read hook repo; do - hook="`echo "${hook}" | cut -d'.' -f4`" - - ${HOME}/.ssh/git-hooks/${hook} ${repo} ${@}