From 32c5fa514c92f9b29e41f86e765d25890e6d9bb8 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 2 Jun 2014 23:17:21 -0400 Subject: [PATCH] Fix #230 --- models/repo.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models/repo.go b/models/repo.go index d13c349f1179..5d28174b0143 100644 --- a/models/repo.go +++ b/models/repo.go @@ -12,6 +12,7 @@ import ( "os/exec" "path" "path/filepath" + "sort" "strings" "time" "unicode/utf8" @@ -75,6 +76,8 @@ func LoadRepoConfig() { LanguageIgns = typeFiles[0] Licenses = typeFiles[1] + sort.Strings(LanguageIgns) + sort.Strings(Licenses) } func NewRepoContext() {