* Firstly, inlining show_ref_array_item(). * Secondly, git for-each-ref reuse final buf for all refs output, the performance is slightly improved, this optimization is also applied to git tag -l and git branch -l. Thanks. ZheNing Hu (2): [GSOC] ref-filter: get rid of show_ref_array_item [GSOC] ref-filter: reuse output buffer builtin/branch.c | 9 +++++---- builtin/for-each-ref.c | 14 ++++++++++++-- builtin/tag.c | 14 ++++++++++++-- ref-filter.c | 25 ++++++++++--------------- ref-filter.h | 2 -- 5 files changed, 39 insertions(+), 25 deletions(-) base-commit: 2e36527f23b7f6ae15e6f21ac3b08bf3fed6ee48 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-935%2Fadlternative%2Fref-filter-opt-reuse-buf-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-935/adlternative/ref-filter-opt-reuse-buf-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/935 -- gitgitgadget