Home
last modified time | relevance | path

Searched refs:headCommit (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/inc/
H A Dinfoutils.php104 $headCommit = trim(file_get_contents(DOKU_INC . '.git/HEAD'));
105 if (strpos($headCommit, 'ref: ') === 0) {
107 $headCommit = substr($headCommit, 5);
108 $pathToHead = DOKU_INC . '.git/' . $headCommit;
110 $headCommit = trim(file_get_contents($pathToHead));
113 if (!preg_match("~([[:xdigit:]]+) $headCommit~", $packedRefs, $matches)) {
117 $headCommit = $matches[1];
120 // At this point $headCommit is a SHA
121 $version['sha'] = $headCommit;
[all...]