No repository loaded.
{:else if commits.length === 0}
No commits returned.
{:else}
{#if visibleCommits.length === 0}
No loaded commits match the selected branches.
{/if}
{#each visibleCommitEntries as entry, rowIndex (entry.commit.hash)}
{@const item = entry.commit}
{@const row = graphRows[rowIndex]}
{@const refSummary = commitRefSummary(item)}
{@const rowSyncClass = syncClassForBranches(row?.branchLabels ?? [])}
1}
class:root-row={item.parents.length === 0}
class:tip-row={item.refs.length > 0}
>
{#if row}
1}
class:tip={item.refs.length > 0}
class:hidden-branch={!rowGraphIsVisible(row)}
class:ahead={rowSyncClass === "ahead"}
class:behind={rowSyncClass === "behind"}
title={commitHoverTitle(item, row)}
style={`left:${graphColX(row.dotCol)}px; --dot-color:${row.dotColor}`}
>
{/if}
{#if refSummary.primaryBranch || refSummary.primaryTag || refSummary.overflowCount > 0}
{#if refSummary.primaryBranch}
{refSummary.primaryBranch.label}
{#if branchStatusLabel(refSummary.primaryBranch)}
{#if refSummary.primaryBranch.trackedRemote}{/if}
{branchStatusLabel(refSummary.primaryBranch).replace(/^✓\s*/, "")}
{/if}
{#if refSummary.primaryBranch.localOnly}
LOCAL
{/if}
{/if}
{#if refSummary.primaryTag}
{refSummary.primaryTag}
{/if}
{#if refSummary.overflowCount > 0}
{/if}
{#if refSummary.overflowCount > 0 && expandedRefsCommitHash === item.hash}
References on this commit
{#if refSummary.branches.some((branch) => branch.kind !== "remote")}
Local
{#each refSummary.branches.filter((branch) => branch.kind !== "remote") as branch}
{branch.label}
{#if branch.current}Current{/if}
{#if branch.trackedRemote}{branch.trackedRemote}{/if}
{#if branch.localOnly}Local only{/if}
{/each}
{/if}
{#if refSummary.branches.some((branch) => branch.kind === "remote")}
Remote
{#each refSummary.branches.filter((branch) => branch.kind === "remote") as branch}
{branch.label}
{/each}
{/if}
{#if refSummary.tags.length > 0}
Tags
{#each refSummary.tags as tag}
{tag}
{/each}
{/if}
{#if refSummary.other.length > 0}
Other
{#each refSummary.other as ref}
{ref}
{/each}
{/if}
{/if}
{/if}
{authorInitials(item.author_name)}
{item.summary}
{#if item.parents.length > 1}
{/if}
{commitKindLabel(item)}
{item.short_hash}
{item.author_name}
{#if item.files.length > 0}
{#if expandedCommitHashes.has(item.hash)}
{#each item.files as file (`${item.hash}:${file.old_path ?? ""}:${file.path}`)}
{/each}
{/if}
{/if}
{/each}
{#if hasMore || isLoadingMore || loadMoreError}
{#if isLoadingMore}
Loading older commits…
{:else if loadMoreError}
Older commits could not be loaded.
{:else}
{/if}
{/if}
{/if}
{#if contextCommit}
{/if}