This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit ff3f10f555d570a6afa62993786ed7571366fbdb Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Jan 2 09:21:36 2020 +0100 git/hooks/update-irkerhook_only: generically recognize SHA1 and SHA256 NULL (pseudo) hashes via a regular expression. --- git/hooks/update-irkerhook_only | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git/hooks/update-irkerhook_only b/git/hooks/update-irkerhook_only index 265b7c5..c723f3e 100755 --- a/git/hooks/update-irkerhook_only +++ b/git/hooks/update-irkerhook_only @@ -13,7 +13,8 @@ typeset -i merge="0" typeset -i ff="0" typeset -i new='0' -if [ '000000000000000000000000000000000000000000' = "${OLD}" ]; then +typeset null_regex='^0{20,}$' +if [[ "${OLD}" =~ $null_regex ]]; then new='1' else if [ -z "$(git rev-list --merges "${OLD}..${NEW}")" ]; then -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git