deforaos-git-hook: ignore updates on deleted references

This commit is contained in:
Pierre Pronchery 2022-08-25 05:47:38 +02:00
parent c31a90808c
commit 23e9d5b1fa

View File

@ -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/}" \