src/Kernel.php
public static function getGitHash($forceCheck = false) {
		if(self::$git_hash && !$forceCheck)
			return self::$git_hash;

		self::$git_hash = "ffffff";

		if(file_exists("dachi_git_hash"))
			self::$git_hash = trim(file_get_contents("dachi_git_hash"));

		return self::$git_hash;
	}
public static function getGitHash($forceCheck = false) {
		if(self::$git_hash && !$forceCheck)
			return self::$git_hash;

		self::$git_hash = "ffffff";

		if(file_exists("dachi_git_hash"))
			self::$git_hash = trim(file_get_contents("dachi_git_hash"));

		return self::$git_hash;
	}
public static function getGitHash ( $ forceCheck = false ) { if ( self :: $ git_hash && ! $ forceCheck ) return self :: $ git_hash ; self :: $ git_hash = "ffffff" ; if ( file_exists ( "dachi_git_hash" ) ) self :: $ git_hash = trim ( file_get_contents ( "dachi_git_hash" ) ) ; return self :: $ git_hash ; }
Get the current short git hash for the revision of code we are executing.

This is only available if running via the internal LemonDigits.com build toolkit, or if
your CI can be configured to output the short hash (6-chars) to the 'dachi_git_hash' file
(this could also be done manually by a developer during deployment)

@param bool $forceCheck Should we ignore the cached git hash and forceably check the filesystem?
@return string
Get the current short git hash for the revision of code we are executing .