foxygit / foxygit Log in
A tiny read-only git web frontend — browse bare repos with just PHP and git, no database, no framework.
commits tags

/views/commit.php · 216 B

raw
<?php /** @var string $diff (already colorized HTML) @var bool $truncated */ ?>
<pre><?= $diff ?></pre>
<?php if ($truncated): ?>
<p class="desc">— diff truncated, too large to show in full —</p>
<?php endif; ?>