diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-05-08 23:25:04 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-08 23:25:04 +0200 |
commit | 6de1630898838b62b97617323a07eb6fe9618a7e (patch) | |
tree | fd5c44e8d439d57b02cb93f36b57a65ada759d92 /builtin/tag.c | |
parent | Merge branch 'jk/credential-sample-update' (diff) | |
parent | ref-filter: apply fallback refname sort only after all user sorts (diff) | |
download | git-6de1630898838b62b97617323a07eb6fe9618a7e.tar.xz git-6de1630898838b62b97617323a07eb6fe9618a7e.zip |
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
Diffstat (limited to 'builtin/tag.c')
-rw-r--r-- | builtin/tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/tag.c b/builtin/tag.c index b93b7365f4..5cbd80dc3e 100644 --- a/builtin/tag.c +++ b/builtin/tag.c @@ -485,7 +485,7 @@ int cmd_tag(int argc, const char **argv, const char *prefix) } if (!sorting) sorting = ref_default_sorting(); - sorting->ignore_case = icase; + ref_sorting_icase_all(sorting, icase); filter.ignore_case = icase; if (cmdmode == 'l') { int ret; |