This version improves upon the previous: - fixes a bug where reverse-sorting didn't work with (HEAD detached) lines, and adds a test - makes implementation code a little DRYer - uses test_when_finished where applicable - makes zh_CN locale detection look more like the is_IS locale detection Thanks, Matthew DeVore (1): ref-filter: sort detached HEAD lines firstly ref-filter.c | 20 ++++++++++++++++---- t/lib-gettext.sh | 22 +++++++++++++++++++--- t/t3207-branch-intl.sh | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+), 7 deletions(-) create mode 100755 t/t3207-branch-intl.sh -- 2.21.0