From: Junio C Hamano Date: Sun, 10 Dec 2023 00:37:50 +0000 (-0800) Subject: Merge branch 'vd/for-each-ref-unsorted-optimization' X-Git-Tag: v2.44.0-rc0~147 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98d0a1f93e869b29041de9122fe31a62c40a4e78;p=thirdparty%2Fgit.git Merge branch 'vd/for-each-ref-unsorted-optimization' "git for-each-ref --no-sort" still sorted the refs alphabetically which paid non-trivial cost. It has been redefined to show output in an unspecified order, to allow certain optimizations to take advantage of. * vd/for-each-ref-unsorted-optimization: t/perf: add perf tests for for-each-ref ref-filter.c: use peeled tag for '*' format fields for-each-ref: clean up documentation of --format ref-filter.c: filter & format refs in the same callback ref-filter.c: refactor to create common helper functions ref-filter.c: rename 'ref_filter_handler()' to 'filter_one()' ref-filter.h: add functions for filter/format & format-only ref-filter.h: move contains caches into filter ref-filter.h: add max_count and omit_empty to ref_format ref-filter.c: really don't sort when using --no-sort --- 98d0a1f93e869b29041de9122fe31a62c40a4e78