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<dl class="keys">
345<div>
346<dt>
347<kbd>ctrl k</kbd>
348<kbd>:</kbd>
349</dt>
350<dd>go to a section, branch, tag, file or repository</dd>
351</div>
352<div>
353<dt>
354<kbd>?</kbd>
355</dt>
356<dd>this list</dd>
357</div>
358<div>
359<dt>
360<kbd>j</kbd>
361<kbd>k</kbd>
362</dt>
363<dd>move the row cursor down / up</dd>
364</div>
365<div>
366<dt>
367<kbd>enter</kbd>
368</dt>
369<dd>open the row under the cursor</dd>
370</div>
371<div>
372<dt>
373<kbd>l</kbd>
374<kbd>h</kbd>
375</dt>
376<dd>into the side panel (on a merge request, its files) / back to the content; there j k move between its controls</dd>
377</div>
378<div>
379<dt>
380<kbd>g g</kbd>
381<kbd>G</kbd>
382</dt>
383<dd>first / last row</dd>
384</div>
385<div>
386<dt>
387<kbd>/</kbd>
388</dt>
389<dd>filter the list; on Files, find a file in the repository</dd>
390</div>
391<div>
392<dt>
393<kbd>b</kbd>
394</dt>
395<dd>switch branch or tag</dd>
396</div>
397<div>
398<dt>
399<kbd>s</kbd>
400<kbd>t</kbd>
401<kbd>c</kbd>
402<kbd>r</kbd>
403<kbd>m</kbd>
404</dt>
405<dd>tabs: summary, files, commits, branches & tags, merge requests</dd>
406</div>
407<div>
408<dt>
409<kbd>g h</kbd>
410</dt>
411<dd>home</dd>
412</div>
413<div>
414<dt>
415<kbd>y</kbd>
416</dt>
417<dd>copy a permalink pinned to the commit</dd>
418</div>
419<div>
420<dt>
421<kbd>d</kbd>
422<kbd>u</kbd>
423<kbd>x</kbd>
424</dt>
425<dd>diff: split / unified / collapse or expand all</dd>
426</div>
427<div>
428<dt>
429<kbd>e</kbd>
430<kbd>E</kbd>
431</dt>
432<dd>diff: the whole file in view / every file, with the lines the hunks hide</dd>
433</div>
434<div>
435<dt>
436<kbd>n</kbd>
437</dt>
438<dd>merge request: next note in the diff</dd>
439</div>
440<div>
441<dt>
442<kbd>esc</kbd>
443</dt>
444<dd>close a dialog, leave a field</dd>
445</div>
446</dl>
447</dialog>
448<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()">
449<div class="panel-head">
450<label for="refs-filter" class="sr">filter branches and tags</label>
451<input id="refs-filter" type="search" placeholder="Switch branch or tag…" autocomplete="off" data-pick="#panel-refs li" hx-on:input="ermite.filter(this)">
452<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
453<kbd>esc</kbd>
454</button>
455</div>
456<div class="panel-cols" data-picklist>
457<section aria-label="Branches">
458<h2>Branches <span class="count">2</span>
459</h2>
460<ul>
461<li>
462<a href="/diffs/tree/main" aria-current="true">
463<span class="mark" aria-hidden="true">●</span>main</a>
464</li>
465<li>
466<a href="/diffs/tree/side">
467<span class="mark" aria-hidden="true"> </span>side</a>
468</li>
469</ul>
470</section>
471<section aria-label="Tags">
472<h2>Tags <span class="count">1</span>
473</h2>
474<ul>
475<li>
476<a href="/diffs/tree/v1.0.0">
477<span class="mark" aria-hidden="true"> </span>v1.0.0</a>
478</li>
479</ul>
480</section>
481</div>
482</dialog>
483<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()">
484<div class="panel-head">
485<label for="cmd-q" class="sr">go to</label>
486<input id="cmd-q" type="search" placeholder="Go to a section, branch, tag, file or repository…" autocomplete="off" spellcheck="false" aria-controls="cmd-list" hx-on:input="ermite.cmdFilter(this); ermiteFinder.palette(this)" hx-on:keydown="ermite.cmdKey(event)">
487<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
488<kbd>esc</kbd>
489</button>
490</div>
491<ul id="cmd-list" class="cmd-list" aria-label="Targets">
492<li data-k="go home" data-cursor>
493<a href="/" tabindex="-1">
494<span class="lbl">home</span>
495<span class="k">go</span>
496</a>
497</li>
498<li data-k="section summary">
499<a href="/diffs" tabindex="-1">
500<span class="lbl">summary</span>
501<span class="k">section</span>
502</a>
503</li>
504<li data-k="section files">
505<a href="/diffs/tree/main" tabindex="-1">
506<span class="lbl">files</span>
507<span class="k">section</span>
508</a>
509</li>
510<li data-k="section commits">
511<a href="/diffs/commits/main" tabindex="-1">
512<span class="lbl">commits</span>
513<span class="k">section</span>
514</a>
515</li>
516<li data-k="section branches & tags">
517<a href="/diffs/refs" tabindex="-1">
518<span class="lbl">branches & tags</span>
519<span class="k">section</span>
520</a>
521</li>
522<li data-k="section merge requests">
523<a href="/diffs/merge-requests" tabindex="-1">
524<span class="lbl">merge requests</span>
525<span class="k">section</span>
526</a>
527</li>
528<li data-k="section actions">
529<a href="/diffs/actions" tabindex="-1">
530<span class="lbl">actions</span>
531<span class="k">section</span>
532</a>
533</li>
534<li data-k="branch main">
535<a href="/diffs/tree/main" tabindex="-1">
536<span class="lbl">main</span>
537<span class="k">branch</span>
538</a>
539</li>
540<li data-k="branch side">
541<a href="/diffs/tree/side" tabindex="-1">
542<span class="lbl">side</span>
543<span class="k">branch</span>
544</a>
545</li>
546<li data-k="tag v1.0.0">
547<a href="/diffs/tree/v1.0.0" tabindex="-1">
548<span class="lbl">v1.0.0</span>
549<span class="k">tag</span>
550</a>
551</li>
552<li data-k="repo long">
553<a href="/long" tabindex="-1">
554<span class="lbl">long</span>
555<span class="k">repo</span>
556</a>
557</li>
558</ul>
559<p class="panel-foot">
560<span>
561<kbd>↑</kbd>
562<kbd>↓</kbd> move</span>
563<span>
564<kbd>enter</kbd> open</span>
565<span>
566<kbd>esc</kbd> close</span>
567</p>
568</dialog>
569<div id="keys" hidden hx-on="k-j from:body -> ermite.move(1);
570 k-k from:body -> ermite.move(-1);
571 k-top from:body -> ermite.edge(false);
572 k-bottom from:body -> ermite.edge(true);
573 k-open from:body -> ermite.open();
574 k-right from:body -> ermite.rail(true);
575 k-left from:body -> ermite.rail(false);
576 k-esc from:body -> ermite.closeDialogs();
577 k-help from:body -> ermite.dialog('panel-help');
578 k-refs from:body -> ermite.dialog('panel-refs', 'refs-filter');
579 k-cmd from:body -> ermite.dialog('panel-cmd', 'cmd-q'); ermiteFinder.load();
580 k-filter from:body -> ermite.focusFilter();
581 k-gh from:body -> ermite.go('.brand');
582 k-s from:body -> ermite.tab('s');
583 k-t from:body -> ermite.tab('t');
584 k-c from:body -> ermite.tab('c');
585 k-r from:body -> ermite.tab('r');
586 k-m from:body -> ermite.tab('m');
587 k-next from:body -> ermite.nextNote();
588 k-split from:body -> ermite.layout('split');
589 k-unified from:body -> ermite.layout('unified');
590 k-collapse from:body -> ermite.collapse();
591 k-expand from:body -> ermite.expandFile();
592 k-expandAll from:body -> ermite.expandAll();
593 k-permalink from:body -> ermite.permalink();
594 k-merge from:body -> window.ermiteMR?.openMerge();
595 k-read from:body -> window.ermiteMR?.markRead();
596 k-gf from:body -> window.ermiteMR?.focusFiles()">
597</div>
598</body>
599</html>