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