Actually make use of revLen

This commit is contained in:
Till Faelligen 2023-09-04 09:46:32 +02:00
parent 9c2206545a
commit 85637cdece
No known key found for this signature in database
GPG Key ID: 3DF82D8AB9211D4E

View File

@ -302,7 +302,7 @@ func init() {
if revLen >= gitRevLen {
GitCommit = setting.Value[:gitRevLen]
} else {
GitCommit = setting.Value[:gitRevLen]
GitCommit = setting.Value[:revLen]
}
break
}