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
parent
25e2b16451
commit
251fd8c948
|
@ -442,7 +442,7 @@ namespace OpenSim.Framework.Servers
|
||||||
if (File.Exists(gitCommitFileName))
|
if (File.Exists(gitCommitFileName))
|
||||||
{
|
{
|
||||||
StreamReader CommitFile = File.OpenText(gitCommitFileName);
|
StreamReader CommitFile = File.OpenText(gitCommitFileName);
|
||||||
buildVersion = Environment.NewLine + "git# " + CommitFile.ReadLine();
|
buildVersion = CommitFile.ReadLine();
|
||||||
CommitFile.Close();
|
CommitFile.Close();
|
||||||
m_version += buildVersion ?? "";
|
m_version += buildVersion ?? "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue