X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Flib-core;h=724c8acafbf3c21600f906c30b54fc58b5cc7a35;hp=e2b6c0623d6b423301ed7eee59f57ac80bb00d9b;hb=3e30ab8dcb32643d399a6f855334bcefc07df26d;hpb=1066c6442bc1471d440ac86711250d825b5ddc2c diff --git a/tests/lib-core b/tests/lib-core index e2b6c062..724c8aca 100644 --- a/tests/lib-core +++ b/tests/lib-core @@ -40,3 +40,7 @@ t-filter-out-git-hyphen-dir () { path="${path%:}" PATH="$path" } + +t-sort () { + LC_COLLATE=C sort "$@" +}