]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/for-each-ref-multi-key-sort-fix'
authorJunio C Hamano <gitster@pobox.com>
Fri, 8 May 2020 21:25:04 +0000 (14:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 May 2020 21:25:04 +0000 (14:25 -0700)
commit6de1630898838b62b97617323a07eb6fe9618a7e
treefd5c44e8d439d57b02cb93f36b57a65ada759d92
parent1260f819aa757c184b2d7afd6f27ad48f625677b
parent7c5045fc180ed09ed4cb5065955acddc1dd50163
Merge branch 'jk/for-each-ref-multi-key-sort-fix'

"git branch" and other "for-each-ref" variants accepted multiple
--sort=<key> options in the increasing order of precedence, but it
had a few breakages around "--ignore-case" handling, and tie-breaking
with the refname, which have been fixed.

* jk/for-each-ref-multi-key-sort-fix:
  ref-filter: apply fallback refname sort only after all user sorts
  ref-filter: apply --ignore-case to all sorting keys
builtin/branch.c
builtin/for-each-ref.c
builtin/tag.c
ref-filter.c
ref-filter.h
t/t6300-for-each-ref.sh