{#if !$commit?.isMergeCommit()} {:else}

Displaying diffs for merge commits is currently not supported. Please view the merge commit in GitHub, or run the following command in your project directory:

{/if} {#if displayedFiles.length > 0} { console.log('loading more files...'); loadMore(); }} role="listbox" > {#each displayedFiles as file (file.id)} { selectFilesInList(e, file, fileIdSelection, displayedFiles, allowMultiple, $commit); }} on:keydown={(e) => { e.preventDefault(); maybeMoveSelection( { allowMultiple, shiftKey: e.shiftKey, key: e.key, targetElement: e.currentTarget as HTMLElement, file, files: displayedFiles, selectedFileIds: $fileIdSelection, fileIdSelection } ); if (e.key === 'Escape') { fileIdSelection.clear(); const targetEl = e.target as HTMLElement; targetEl.blur(); } }} /> {/each} {/if}