1<!doctype html>
2<html lang="en">
3<head>
4<meta charset="utf-8">
5<meta name="viewport" content="width=device-width, initial-scale=1">
6<meta name="color-scheme" content="light dark">
7<title>commits · diffs · example.test</title>
8<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff">
9<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0c0c0c">
10<meta name="apple-mobile-web-app-title" content="ermite">
11<link rel="icon" type="image/svg+xml" href="/-/static/img/icon.HASH.svg">
12<link rel="apple-touch-icon" href="/-/static/app/apple-touch-icon.HASH.png">
13<link rel="manifest" href="/-/static/app/manifest.HASH.webmanifest">
14<link rel="preload" href="/-/static/fonts/atkinson-next.HASH.woff2" as="font" type="font/woff2" crossorigin>
15<link rel="stylesheet" href="/-/static/css/ermite.HASH.css">
16<meta name="htmx-config" content='{"history":false,"includeIndicatorCSS":false,"extensions":"sse, hx-live"}'>
17<script src="/-/static/js/htmx.min.HASH.js" defer>
18</script>
19<script src="/-/static/js/hx-live.min.HASH.js" defer>
20</script>
21<script src="/-/static/js/hx-sse.min.HASH.js" defer>
22</script>
23<script src="/-/static/js/ermite.HASH.js" defer>
24</script>
25<script src="/-/static/js/files.HASH.js" defer>
26</script>
27<script src="/-/static/js/passkey.HASH.js" defer>
28</script>
29<script src="/-/static/js/log.HASH.js" defer>
30</script>
31</head>
32<body data-ref="main" data-sha="SHA40" data-sel="" data-nav="" data-paths="/diffs/paths/SHA40" data-blob="/diffs/blob/main">
33<a class="skip" href="#main">skip to content</a>
34<header class="hdr">
35<div class="hdr-top">
36<a class="brand" href="/" data-g="h" aria-label="home" title="home (g h)">
37<span class="brand-mark" aria-hidden="true">
38</span>
39</a>
40<nav class="crumbs" aria-label="Path">
41<ol>
42<li>
43<a href="/diffs">diffs</a>
44</li>
45<li>
46<a href="/diffs/commits/main">commits</a>
47</li>
48<li>
49<a href="/diffs/commits/main" aria-current="page">main</a>
50</li>
51</ol>
52</nav>
53<div class="hdr-acts">
54<a class="btn ref" href="/diffs/refs" data-fire="refs" aria-keyshortcuts="b" title="switch branch or tag (b)">
55<span class="ico i-branch" aria-hidden="true">
56</span>
57<span class="ref-name">main</span>
58<span class="sha">SHA7</span>
59</a>
60<button type="button" class="btn search" data-js aria-haspopup="dialog" aria-controls="panel-cmd" aria-keyshortcuts="Control+K :" title="go to a section, ref, file or repo (ctrl k or :)" data-fire="cmd">
61<span class="ico i-search" aria-hidden="true">
62</span>
63<span class="search-label">Go to…</span>
64<kbd aria-hidden="true">ctrl k</kbd>
65</button>
66</div>
67</div>
68<nav class="tabs" aria-label="Sections">
69<ul>
70<li>
71<a href="/diffs" data-key="s" aria-keyshortcuts="s">Summary <kbd aria-hidden="true">s</kbd>
72</a>
73</li>
74<li>
75<a href="/diffs/tree/main" data-key="t" aria-keyshortcuts="t">Files <kbd aria-hidden="true">t</kbd>
76</a>
77</li>
78<li>
79<a href="/diffs/commits/main" data-key="c" aria-keyshortcuts="c" aria-current="page">Commits <kbd aria-hidden="true">c</kbd>
80</a>
81</li>
82<li>
83<a href="/diffs/refs" data-key="r" aria-keyshortcuts="r">Branches & tags <kbd aria-hidden="true">r</kbd>
84</a>
85</li>
86<li>
87<a href="/diffs/merge-requests" data-key="m" aria-keyshortcuts="m">Merge requests <kbd aria-hidden="true">m</kbd>
88</a>
89</li>
90<li>
91<a href="/diffs/actions" data-key="a" aria-keyshortcuts="a">Actions <kbd aria-hidden="true">a</kbd>
92</a>
93</li>
94</ul>
95</nav>
96</header>
97<div class="work has-rail">
98<main id="main" tabindex="-1">
99<div class="filter">
100<label for="commit-filter" class="sr">filter</label>
101<input id="commit-filter" type="search" data-filter=".days tr" data-groups=".days section" placeholder="Filter by subject, sha or author…" autocomplete="off" hx-on:input="ermite.filter(this)">
102</div>
103<div id="commits-head" class="live-slot" role="status" data-slot>
104</div>
105<div class="days">
106<section aria-label="2026-02-08">
107<h2 class="rule-h">
108<span>2026-02-08</span>
109</h2>
110<table class="list commits" aria-label="Commits">
111<tbody data-rows>
112<tr id="c-SHA7" data-cursor>
113<td class="cur" aria-hidden="true">
114</td>
115<td class="c-sha mute">SHA7</td>
116<td class="c-subject">
117<a href="/diffs/commit/SHA40">add a very large file</a>
118<span class="pill">main</span>
119</td>
120<td class="c-ck">
121</td>
122<td class="c-who dim">T</td>
123<td class="c-when nowrap dim">
124<time datetime="STAMP" title="STAMP">AGO</time>
125</td>
126</tr>
127</tbody>
128</table>
129</section>
130<section aria-label="2026-02-07">
131<h2 class="rule-h">
132<span>2026-02-07</span>
133</h2>
134<table class="list commits" aria-label="Commits">
135<tbody data-rows>
136<tr id="c-SHA7">
137<td class="cur" aria-hidden="true">
138</td>
139<td class="c-sha mute">SHA7</td>
140<td class="c-subject">
141<a href="/diffs/commit/SHA40">add evil.go</a>
142</td>
143<td class="c-ck">
144</td>
145<td class="c-who dim">T</td>
146<td class="c-when nowrap dim">
147<time datetime="STAMP" title="STAMP">AGO</time>
148</td>
149</tr>
150</tbody>
151</table>
152</section>
153<section aria-label="2026-02-06">
154<h2 class="rule-h">
155<span>2026-02-06</span>
156</h2>
157<table class="list commits" aria-label="Commits">
158<tbody data-rows>
159<tr id="c-SHA7">
160<td class="cur" aria-hidden="true">
161</td>
162<td class="c-sha mute">SHA7</td>
163<td class="c-subject">
164<a href="/diffs/commit/SHA40">merge the side branch</a>
165<span class="pill">merge</span>
166</td>
167<td class="c-ck">
168</td>
169<td class="c-who dim">T</td>
170<td class="c-when nowrap dim">
171<time datetime="STAMP" title="STAMP">AGO</time>
172</td>
173</tr>
174</tbody>
175</table>
176</section>
177<section aria-label="2026-02-05">
178<h2 class="rule-h">
179<span>2026-02-05</span>
180</h2>
181<table class="list commits" aria-label="Commits">
182<tbody data-rows>
183<tr id="c-SHA7">
184<td class="cur" aria-hidden="true">
185</td>
186<td class="c-sha mute">SHA7</td>
187<td class="c-subject">
188<a href="/diffs/commit/SHA40">work on the side</a>
189<span class="pill">side</span>
190</td>
191<td class="c-ck">
192</td>
193<td class="c-who dim">T</td>
194<td class="c-when nowrap dim">
195<time datetime="STAMP" title="STAMP">AGO</time>
196</td>
197</tr>
198</tbody>
199</table>
200</section>
201<section aria-label="2026-02-04">
202<h2 class="rule-h">
203<span>2026-02-04</span>
204</h2>
205<table class="list commits" aria-label="Commits">
206<tbody data-rows>
207<tr id="c-SHA7">
208<td class="cur" aria-hidden="true">
209</td>
210<td class="c-sha mute">SHA7</td>
211<td class="c-subject">
212<a href="/diffs/commit/SHA40">change a binary file</a>
213</td>
214<td class="c-ck">
215</td>
216<td class="c-who dim">T</td>
217<td class="c-when nowrap dim">
218<time datetime="STAMP" title="STAMP">AGO</time>
219</td>
220</tr>
221</tbody>
222</table>
223</section>
224<section aria-label="2026-02-03">
225<h2 class="rule-h">
226<span>2026-02-03</span>
227</h2>
228<table class="list commits" aria-label="Commits">
229<tbody data-rows>
230<tr id="c-SHA7">
231<td class="cur" aria-hidden="true">
232</td>
233<td class="c-sha mute">SHA7</td>
234<td class="c-subject">
235<a href="/diffs/commit/SHA40">rename a file and delete another</a>
236</td>
237<td class="c-ck">
238</td>
239<td class="c-who dim">T</td>
240<td class="c-when nowrap dim">
241<time datetime="STAMP" title="STAMP">AGO</time>
242</td>
243</tr>
244</tbody>
245</table>
246</section>
247<section aria-label="2026-02-02">
248<h2 class="rule-h">
249<span>2026-02-02</span>
250</h2>
251<table class="list commits" aria-label="Commits">
252<tbody data-rows>
253<tr id="c-SHA7">
254<td class="cur" aria-hidden="true">
255</td>
256<td class="c-sha mute">SHA7</td>
257<td class="c-subject">
258<a href="/diffs/commit/SHA40">modify a file and make a script executable</a>
259<span class="pill tag">
260<span class="sr">tag </span>v1.0.0</span>
261</td>
262<td class="c-ck">
263</td>
264<td class="c-who dim">T</td>
265<td class="c-when nowrap dim">
266<time datetime="STAMP" title="STAMP">AGO</time>
267</td>
268</tr>
269</tbody>
270</table>
271</section>
272<section aria-label="2026-02-01">
273<h2 class="rule-h">
274<span>2026-02-01</span>
275</h2>
276<table class="list commits" aria-label="Commits">
277<tbody data-rows>
278<tr id="c-SHA7">
279<td class="cur" aria-hidden="true">
280</td>
281<td class="c-sha mute">SHA7</td>
282<td class="c-subject">
283<a href="/diffs/commit/SHA40">root: the first files</a>
284</td>
285<td class="c-ck">
286</td>
287<td class="c-who dim">T</td>
288<td class="c-when nowrap dim">
289<time datetime="STAMP" title="STAMP">AGO</time>
290</td>
291</tr>
292</tbody>
293</table>
294</section>
295</div>
296</main>
297<aside class="rail" aria-label="Context">
298<section aria-labelledby="r-hist">
299<h2 id="r-hist">History</h2>
300<dl class="kv">
301<dt>ref</dt>
302<dd>main</dd>
303<dt>on page</dt>
304<dd>8</dd>
305</dl>
306</section>
307<section aria-labelledby="r-refs">
308<h2 id="r-refs">Refs on this page</h2>
309<nav class="outline" aria-label="Refs on this page">
310<a href="#c-SHA7">branch main</a>
311<a href="#c-SHA7">branch side</a>
312<a href="#c-SHA7">tag v1.0.0</a>
313</nav>
314</section>
315</aside>
316</div>
317<footer class="foot">
318<span>ermite devel</span>
319<a href="http://example.test/ermite" rel="noopener" title="source of this version (AGPL-3.0-or-later)">source</a>
320<button type="button" class="foot-keys" data-js data-fire="help" aria-haspopup="dialog" aria-controls="panel-help" aria-keyshortcuts="?">
321<kbd aria-hidden="true">?</kbd> keyboard shortcuts</button>
322</footer>
323<div class="hint" role="status" aria-live="polite">
324<span class="hint-nav" :text="document.body.dataset.nav || ''">
325</span>
326<span class="hint-sel" :text="document.body.dataset.sel ? document.body.dataset.sel + ' · y permalink' : ''">
327</span>
328<span class="hint-flash" :text="document.body.dataset.flash || ''">
329</span>
330<span class="hint-live" data-state="connecting" hx-sse:connect="/-/events?topic=repo%3Adiffs&view=commits&ref=main&head=SHA40" hx-swap="none" :text="data.state === 'offline' ? 'live updates paused' : ''" hx-on="htmx:sse:after:connection -> ermiteLive.back();
331 htmx:sse:close, htmx:sse:error -> ermiteLive.lost();
332 htmx:sse:error -> ermiteLive.error(event.detail.status);
333 htmx:sse:before:connection -> ermiteLive.gate(event);
334 home-list, repo-last-push, refs-list, commits-head, mr-notice, ci-run, ci-job -> ermiteLive.swap(event.detail.data);
335 gap -> ermiteLive.reload()">
336</span>
337</div>
338<dialog id="panel-help" class="panel modal" aria-label="Keyboard shortcuts" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
339<div class="panel-head">
340<h2>Keyboard shortcuts</h2>
341<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
342<kbd>esc</kbd> close</button>
343</div>
344<div class="keys-pref">
345<label>
346<input type="checkbox" id="keys-off" aria-describedby="keys-note" hx-on:change="ermite.setKeysOff(this.checked)"> Turn off single-key shortcuts</label>
347<p id="keys-note" class="dim">Single-key shortcuts are on. ctrl k and esc work whatever this says.</p>
348</div>
349<dl class="keys">
350<div>
351<dt>
352<kbd>ctrl k</kbd>
353<kbd>:</kbd>
354</dt>
355<dd>go to a section, branch, tag, file or repository</dd>
356</div>
357<div>
358<dt>
359<kbd>?</kbd>
360</dt>
361<dd>this list</dd>
362</div>
363<div>
364<dt>
365<kbd>j</kbd>
366<kbd>k</kbd>
367</dt>
368<dd>move the row cursor down / up</dd>
369</div>
370<div>
371<dt>
372<kbd>enter</kbd>
373</dt>
374<dd>open the row under the cursor; on Files, a directory opens or closes in place</dd>
375</div>
376<div>
377<dt>
378<kbd>↑</kbd>
379<kbd>↓</kbd>
380<kbd>←</kbd>
381<kbd>→</kbd>
382<kbd>home</kbd>
383<kbd>end</kbd>
384</dt>
385<dd>in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file</dd>
386</div>
387<div>
388<dt>
389<kbd>l</kbd>
390<kbd>h</kbd>
391</dt>
392<dd>on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls</dd>
393</div>
394<div>
395<dt>
396<kbd>g g</kbd>
397<kbd>G</kbd>
398</dt>
399<dd>first / last row</dd>
400</div>
401<div>
402<dt>
403<kbd>/</kbd>
404</dt>
405<dd>filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)</dd>
406</div>
407<div>
408<dt>
409<kbd>b</kbd>
410</dt>
411<dd>switch branch or tag</dd>
412</div>
413<div>
414<dt>
415<kbd>s</kbd>
416<kbd>t</kbd>
417<kbd>c</kbd>
418<kbd>r</kbd>
419<kbd>m</kbd>
420</dt>
421<dd>tabs: summary, files, commits, branches & tags, merge requests</dd>
422</div>
423<div>
424<dt>
425<kbd>g h</kbd>
426</dt>
427<dd>home</dd>
428</div>
429<div>
430<dt>
431<kbd>y</kbd>
432</dt>
433<dd>copy a permalink pinned to the commit</dd>
434</div>
435<div>
436<dt>
437<kbd>d</kbd>
438<kbd>u</kbd>
439<kbd>x</kbd>
440</dt>
441<dd>diff: split / unified / collapse or expand all</dd>
442</div>
443<div>
444<dt>
445<kbd>e</kbd>
446<kbd>E</kbd>
447</dt>
448<dd>diff: the whole file in view / every file, with the lines the hunks hide</dd>
449</div>
450<div>
451<dt>
452<kbd>n</kbd>
453</dt>
454<dd>merge request: next note in the diff</dd>
455</div>
456<div>
457<dt>
458<kbd>esc</kbd>
459</dt>
460<dd>close a dialog, leave a field</dd>
461</div>
462</dl>
463</dialog>
464<dialog id="panel-refs" class="panel modal" aria-label="Switch ref" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
465<div class="panel-head">
466<label for="refs-filter" class="sr">filter branches and tags</label>
467<input id="refs-filter" type="search" placeholder="Switch branch or tag…" autocomplete="off" data-pick="#panel-refs li" hx-on:input="ermite.filter(this)">
468<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
469<kbd>esc</kbd>
470</button>
471</div>
472<div class="panel-cols" data-picklist>
473<section aria-label="Branches">
474<h2>Branches <span class="count">2</span>
475</h2>
476<ul>
477<li>
478<a href="/diffs/tree/main" aria-current="true">
479<span class="mark" aria-hidden="true">●</span>main</a>
480</li>
481<li>
482<a href="/diffs/tree/side">
483<span class="mark" aria-hidden="true"> </span>side</a>
484</li>
485</ul>
486</section>
487<section aria-label="Tags">
488<h2>Tags <span class="count">1</span>
489</h2>
490<ul>
491<li>
492<a href="/diffs/tree/v1.0.0">
493<span class="mark" aria-hidden="true"> </span>v1.0.0</a>
494</li>
495</ul>
496</section>
497</div>
498</dialog>
499<dialog id="panel-cmd" class="panel modal" aria-label="Go to" hx-on:close="ermiteFinder.paletteClose()" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
500<div class="panel-head">
501<label for="cmd-q" class="sr">go to</label>
502<input id="cmd-q" type="search" placeholder="Go to a section, branch, tag, file or repository…" autocomplete="off" spellcheck="false" role="combobox" aria-autocomplete="list" aria-expanded="true" aria-controls="cmd-list" aria-activedescendant="cmd-o0" hx-on:input="ermite.cmdFilter(this); ermiteFinder.palette(this)" hx-on:keydown="ermite.cmdKey(event)">
503<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
504<kbd>esc</kbd>
505</button>
506</div>
507<ul id="cmd-list" class="cmd-list" role="listbox" aria-label="Targets">
508<li id="cmd-o0" role="option" aria-selected="true" data-k="go home" data-cursor>
509<a href="/" tabindex="-1">
510<span class="lbl">home</span>
511<span class="k">go</span>
512</a>
513</li>
514<li id="cmd-o1" role="option" aria-selected="false" data-k="section summary">
515<a href="/diffs" tabindex="-1">
516<span class="lbl">summary</span>
517<span class="k">section</span>
518</a>
519</li>
520<li id="cmd-o2" role="option" aria-selected="false" data-k="section files">
521<a href="/diffs/tree/main" tabindex="-1">
522<span class="lbl">files</span>
523<span class="k">section</span>
524</a>
525</li>
526<li id="cmd-o3" role="option" aria-selected="false" data-k="section commits">
527<a href="/diffs/commits/main" tabindex="-1">
528<span class="lbl">commits</span>
529<span class="k">section</span>
530</a>
531</li>
532<li id="cmd-o4" role="option" aria-selected="false" data-k="section branches & tags">
533<a href="/diffs/refs" tabindex="-1">
534<span class="lbl">branches & tags</span>
535<span class="k">section</span>
536</a>
537</li>
538<li id="cmd-o5" role="option" aria-selected="false" data-k="section merge requests">
539<a href="/diffs/merge-requests" tabindex="-1">
540<span class="lbl">merge requests</span>
541<span class="k">section</span>
542</a>
543</li>
544<li id="cmd-o6" role="option" aria-selected="false" data-k="section actions">
545<a href="/diffs/actions" tabindex="-1">
546<span class="lbl">actions</span>
547<span class="k">section</span>
548</a>
549</li>
550<li id="cmd-o7" role="option" aria-selected="false" data-k="branch main">
551<a href="/diffs/tree/main" tabindex="-1">
552<span class="lbl">main</span>
553<span class="k">branch</span>
554</a>
555</li>
556<li id="cmd-o8" role="option" aria-selected="false" data-k="branch side">
557<a href="/diffs/tree/side" tabindex="-1">
558<span class="lbl">side</span>
559<span class="k">branch</span>
560</a>
561</li>
562<li id="cmd-o9" role="option" aria-selected="false" data-k="tag v1.0.0">
563<a href="/diffs/tree/v1.0.0" tabindex="-1">
564<span class="lbl">v1.0.0</span>
565<span class="k">tag</span>
566</a>
567</li>
568<li id="cmd-o10" role="option" aria-selected="false" data-k="repo long">
569<a href="/long" tabindex="-1">
570<span class="lbl">long</span>
571<span class="k">repo</span>
572</a>
573</li>
574<li id="cmd-o11" role="option" aria-selected="false" data-k="action turn single-key shortcuts on off keyboard">
575<a href="#" data-fire="keys" tabindex="-1">
576<span class="lbl">turn single-key shortcuts off</span>
577<span class="k">action</span>
578</a>
579</li>
580</ul>
581<p class="panel-foot">
582<span>
583<kbd>↑</kbd>
584<kbd>↓</kbd> move</span>
585<span>
586<kbd>enter</kbd> open</span>
587<span>
588<kbd>esc</kbd> close</span>
589</p>
590</dialog>
591<div id="keys" hidden hx-on="k-j from:body -> ermite.move(1);
592 k-k from:body -> ermite.move(-1);
593 k-top from:body -> ermite.edge(false);
594 k-bottom from:body -> ermite.edge(true);
595 k-open from:body -> ermite.open();
596 k-right from:body -> ermite.rail(true);
597 k-left from:body -> ermite.rail(false);
598 k-esc from:body -> ermite.closeDialogs();
599 k-help from:body -> ermite.dialog('panel-help');
600 k-refs from:body -> ermite.dialog('panel-refs', 'refs-filter');
601 k-cmd from:body -> ermite.dialog('panel-cmd', 'cmd-q'); ermiteFinder.load();
602 k-filter from:body -> ermite.focusFilter();
603 k-gh from:body -> ermite.go('.brand');
604 k-s from:body -> ermite.tab('s');
605 k-t from:body -> ermite.tab('t');
606 k-c from:body -> ermite.tab('c');
607 k-r from:body -> ermite.tab('r');
608 k-m from:body -> ermite.tab('m');
609 k-next from:body -> ermite.nextNote();
610 k-split from:body -> ermite.layout('split');
611 k-unified from:body -> ermite.layout('unified');
612 k-collapse from:body -> ermite.collapse();
613 k-expand from:body -> ermite.expandFile();
614 k-expandAll from:body -> ermite.expandAll();
615 k-permalink from:body -> ermite.permalink();
616 k-merge from:body -> window.ermiteMR?.openMerge();
617 k-read from:body -> window.ermiteMR?.markRead();
618 k-gf from:body -> window.ermiteMR?.focusFiles();
619 k-keys from:body -> ermite.toggleKeys()">
620</div>
621</body>
622</html>