Hello everyone, This is my new attempt to start using oid_object_info_extended() in ref-filter. You could look at previous one [1] [2] but it is not necessary. The goal (still) is to improve performance by avoiding calling expensive functions when we don't need the information they provide or when we could get it by using a cheaper function. This patch is a middle step. In the end, I want to add new atoms ("objectsize:disk" and "deltabase") and reuse ref-filter logic in cat-file command. I also know about problems with memory leaks in ref-filter: that would be my next task that I will work on. Since I did not generate any new leaks in this patch (just use existing ones), I decided to put this part on a review and fix leaks as a separate task. Thank you! [1] https://github.com/git/git/pull/493 [2] https://public-inbox.org/git/010201637254c969-a346030e-0b75-41ad-8ef3-2ac7e04ba4fb-000000@xxxxxxxxxxxxxxxxxxxxxxx/