{$t("Commit graph")} void refresh()} />

{$t("Latest 100 commits. Select a commit to see its files. Dashed lines continue beyond this history.")}

{#if graphMessage}

{graphMessage}

{:else}
    {#each layout.nodes as commit (commit.id)} {@const selected = commit.id === git.history.selectedId}
  1. {/each}
{/if}
{#if detail}
{detail.author} {detail.id} {#if detail.parents.length > 1}{$t("Changes against the first parent.")}{/if}

{detail.message}

{$t("Changed files: {count}", { count: detail.files.length })}
{#each detail.files as file (file.path)} {/each}
{#if diff} {:else}

{detail.files.length ? $t("Select a file to see its diff.") : $t("This commit contains no file changes.")}

{/if} {:else}

{detailMessage}

{/if}