File history

{fileName(filePath)}

{filePath}
{#if isLoading}
Loading file history… Reading commits that changed this file.
{:else if error}
File history could not be loaded. {error}
{:else if fileHistory.length === 0}
No history found. This file has no committed changes yet.
{:else}
{#each fileHistory as item (item.hash)}
{item.author_name.trim().slice(0, 2).toUpperCase() || "?"}
{item.summary} {item.short_hash} · {item.author_name}
{formatCommitDate(item.date)}
{/each}
{/if}