From bc495e28f8e622cab87a26cc25c7b5e8aa2c8daa Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Fri, 21 Jul 2017 11:00:16 +0100 Subject: check_hash implemented (sha256) --- hooks/post-receive | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'hooks') diff --git a/hooks/post-receive b/hooks/post-receive index 2bffd83..66c1b2a 100755 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -24,9 +24,7 @@ while read old_value new_value ref; do echo "old_rev: ${old_value}" echo "new_rev: ${new_value}" echo "spool_dir: ${spool_dir}" -done - -cat <${spool_dir}/${id} --- m_id: $id m_repo: $repo @@ -34,6 +32,10 @@ m_branch: $branch m_oldrev: ${old_value} m_newrev: ${new_value} ... -EOF>${spool_dir}/${id} +EOF + +done + + -- cgit v1.2.3