X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Flib-core;fp=tests%2Flib-core;h=724c8acafbf3c21600f906c30b54fc58b5cc7a35;hp=e2b6c0623d6b423301ed7eee59f57ac80bb00d9b;hb=61f92b326da0efea1cf4d3c263ef0e0b7cacfc25;hpb=80489b3ec6643c06d525ec39a7d72135286ba62c 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 "$@" +}