]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ks/ref-filter-sort-numerically'
authorJunio C Hamano <gitster@pobox.com>
Thu, 14 Sep 2023 18:16:59 +0000 (11:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Sep 2023 18:16:59 +0000 (11:16 -0700)
"git for-each-ref --sort='contents:size'" sorts the refs according
to size numerically, giving a ref that points at a blob twelve-byte
(12) long before showing a blob hundred-byte (100) long.

* ks/ref-filter-sort-numerically:
  ref-filter: sort numerically when ":size" is used

1  2 
ref-filter.c
t/t6300-for-each-ref.sh

diff --cc ref-filter.c
Simple merge
Simple merge