diff --git a/src/deforaos-git-hook b/src/deforaos-git-hook index 93375ca..aa3ccc4 100755 --- a/src/deforaos-git-hook +++ b/src/deforaos-git-hook @@ -58,6 +58,8 @@ _hook_jobs() res=0 while read oldrev newrev refname; do + [ "$newrev" != "0000000000000000000000000000000000000000" ] || + continue case "$refname" in refs/heads/*) _jobs_branch "${refname#refs/heads/}" \