mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
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)
This commit is contained in:
@@ -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 ?? "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user