Compare
Select commits
{#if commits.length < 2}
At least two commits are needed to compare.
{:else}
From (older)
onCompareFromChange((e.target as HTMLSelectElement).value)} disabled={isBusy} >
Select a commit
{#each commits as item (item.hash)}
{commitOptionLabel(item)}
{/each}
To (newer)
onCompareToChange((e.target as HTMLSelectElement).value)} disabled={isBusy} >
Select a commit
{#each commits as item (item.hash)}
{commitOptionLabel(item)}
{/each}
{#if operation === "Comparing commits"}
{:else}
{/if} Compare
{#if compareFrom && compareTo && compareFrom === compareTo}
Select two different commits to compare.
{:else}
Pick two commits and run a comparison.
{/if} {/if}