branch != 'master' && !empty($gitinfo->branch)) { $version_revision .= " (".substr($gitinfo->hash,0,8)." - ".$gitinfo->branch.")"; } else { $version_revision .= " (".substr($gitinfo->hash,0,8).")"; } } else { $version_revision .= " (?)"; } ?>