{#snippet role(label: string, members: GitIdentity[])}
{label}
{#each members as who (utils.identityKey(who))}
{#if who.name}
{who.name}
{/if} {#if who.email}
{ event.stopPropagation(); void copyIdentity(who); }}>
{who.email}
{/if}
{/each}
{/snippet}
{#snippet toggle()}
{#each stacked as who, index (utils.identityKey(who))}
{/each} {#if overflow > 0}
+{overflow}
{/if}
{/snippet} {#snippet popover()}
{#if authorIsCommitter} {@render role("Author & committer", [commit.author])} {:else} {@render role("Author", [commit.author])} {@render role("Committer", [commit.committer])} {/if} {#if coAuthors.length > 0} {@render role( coAuthors.length === 1 ? "Co-author" : "Co-authors", coAuthors, )} {/if}
{/snippet}