Output links only when a single commit was pushed

This commit is contained in:
Pierre Pronchery 2014-09-15 18:49:14 +02:00
parent 1a97d48d4b
commit d9aa6a94a5

View File

@ -158,7 +158,7 @@ _hook_update()
message="$message in $unique_files_cnt files)"
fi
echo "$message"
_link "$repository" "$newrev"
[ $commit_cnt -eq 1 ] && _link "$repository" "$newrev"
fi
return 0
}