Re: [libvirt PATCH 0/5] Waste less CPU on syntax-check

2021-08-19 Thread Michal Prívozník
On 8/19/21 4:12 PM, Ján Tomko wrote: > Use 'git ls-tree' directly instead of a wrapper script that > can possibly handle all the other versioning systems we do not use. > > Instead of adding, removing, then re-adding the absolute path prefix, > only add it once per every syntax check rule. > > De

[libvirt PATCH 0/5] Waste less CPU on syntax-check

2021-08-19 Thread Ján Tomko
Use 'git ls-tree' directly instead of a wrapper script that can possibly handle all the other versioning systems we do not use. Instead of adding, removing, then re-adding the absolute path prefix, only add it once per every syntax check rule. Delete the useless-if-before-free check since we've b