log git revision hash to stdout/console

Fixes #3963
This commit is contained in:
Edgar 2021-08-16 16:35:26 +02:00
parent 3594d89f85
commit 74fac43376
No known key found for this signature in database
GPG key ID: 8731E6C0166EAA85

View file

@ -3371,6 +3371,8 @@ void CGameContext::OnInit(/*class IKernel *pKernel*/)
//game.world.insert_entity(game.Controller);
Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "git-revision", GIT_SHORTREV_HASH);
#ifdef CONF_DEBUG
if(g_Config.m_DbgDummies)
{