Apply patch to reduce git revision text length if running sim directly from a git tree

See http://opensimulator.org/mantis/view.php?id=4030
Thanks ChrisDown (and Bruce for reporting)
mysql-performance
Justin Clark-Casey (justincc) 2009-11-27 18:24:21 +00:00
parent 25e2b16451
commit 251fd8c948
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ namespace OpenSim.Framework.Servers
if (File.Exists(gitCommitFileName))
{
StreamReader CommitFile = File.OpenText(gitCommitFileName);
buildVersion = Environment.NewLine + "git# " + CommitFile.ReadLine();
buildVersion = CommitFile.ReadLine();
CommitFile.Close();
m_version += buildVersion ?? "";
}