このコミットが含まれているのは:
2023-01-21 17:56:32 +09:00
コミット 870210671f
1個のファイルの変更6行の追加1行の削除

ファイルの表示

@ -31,7 +31,12 @@
}
function get_commit_msg (string $fp) : string {
return date("Y/m/d H:i:s", filemtime($fp.".git/COMMIT_EDITMSG")).": ".trim(file_get_contents($fp.".git/COMMIT_EDITMSG"));
$res = file_get_contents($fp.".git/logs/refs/heads/".git_branch($fp));
$res = explode("\n", $res);
$res = $res[array_key_last($res)-1];
$res = strstr($res, "commit: ");
$res = str_replace("commit: ", "", $res);
return trim($res);
}
function ls (string $fp = "") : array|bool {