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