diff options
author | KatolaZ <katolaz@freaknet.org> | 2017-07-21 11:00:16 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2017-07-21 11:00:16 +0100 |
commit | bc495e28f8e622cab87a26cc25c7b5e8aa2c8daa (patch) | |
tree | 7973eec46a95c8101411d6e2bb0f2294af5611cb /hooks | |
parent | e404b1dd6923c255e22933127d3e6f4e4119f61b (diff) |
check_hash implemented (sha256)
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/post-receive | 10 |
1 files changed, 6 insertions, 4 deletions
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 <<EOF + cat <<EOF >${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 + + |