]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commit6a4e7440fb4b20822e1854925c0dcfae0c64402d
tree5b4aa38a74edc458a61b91d3fbee4a14611f3dfc
parentd4cab3717f1afb6d0f423fa7b1cd87b657c507e3
parent6d79cd8474b7bb4979f2a7544fd736bed190261a
Merge branch 'ks/ref-filter-sort-numerically'

"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
ref-filter.c
t/t6300-for-each-ref.sh