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>history of a.txt · long · 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">
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="/long/paths/SHA40" data-blob="/long/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="/long">long</a>
46</li>
47<li>
48<a href="/long/commits/main">commits</a>
49</li>
50<li>
51<a href="/long/commits/main">main</a>
52</li>
53<li>
54<span aria-current="page">a.txt</span>
55</li>
56</ol>
57</nav>
58<div class="hdr-acts">
59<a class="btn ref" href="/long/refs" data-fire="refs" aria-keyshortcuts="b" title="switch branch or tag (b)">
60<span class="ico i-branch" aria-hidden="true">
61</span>
62<span class="ref-name">main</span>
63<span class="sha">SHA7</span>
64</a>
65<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">
66<span class="ico i-search" aria-hidden="true">
67</span>
68<span class="search-label">Go to…</span>
69<kbd aria-hidden="true">ctrl k</kbd>
70</button>
71</div>
72</div>
73<nav class="tabs" aria-label="Sections">
74<ul>
75<li>
76<a href="/long" data-key="s" aria-keyshortcuts="s">Summary <kbd aria-hidden="true">s</kbd>
77</a>
78</li>
79<li>
80<a href="/long/tree/main" data-key="t" aria-keyshortcuts="t">Files <kbd aria-hidden="true">t</kbd>
81</a>
82</li>
83<li>
84<a href="/long/commits/main" data-key="c" aria-keyshortcuts="c" aria-current="page">Commits <kbd aria-hidden="true">c</kbd>
85</a>
86</li>
87<li>
88<a href="/long/refs" data-key="r" aria-keyshortcuts="r">Branches & tags <kbd aria-hidden="true">r</kbd>
89</a>
90</li>
91<li>
92<a href="/long/merge-requests" data-key="m" aria-keyshortcuts="m">Merge requests <kbd aria-hidden="true">m</kbd>
93</a>
94</li>
95<li>
96<a href="/long/releases" data-key="l" aria-keyshortcuts="l">Releases <kbd aria-hidden="true">l</kbd>
97</a>
98</li>
99<li>
100<a href="/long/actions" data-key="a" aria-keyshortcuts="a">Actions <kbd aria-hidden="true">a</kbd>
101</a>
102</li>
103</ul>
104</nav>
105</header>
106<div class="work has-rail">
107<main id="main" tabindex="-1">
108<div class="filter">
109<label for="commit-filter" class="sr">filter</label>
110<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)">
111</div>
112<p class="lede dim">history of <code>a.txt</code> at main</p>
113<div class="days">
114<section aria-label="2026-03-16">
115<h2 class="rule-h">
116<span>2026-03-16</span>
117</h2>
118<table class="list commits" aria-label="Commits">
119<tbody data-rows>
120<tr id="c-SHA7" data-cursor>
121<td class="c-sha mute">SHA7</td>
122<td class="c-subject">
123<a href="/long/commit/SHA40">commit number 30</a>
124</td>
125<td class="c-ck">
126</td>
127<td class="c-who dim">T</td>
128<td class="c-when nowrap dim">
129<time datetime="STAMP" title="STAMP">AGO</time>
130</td>
131</tr>
132</tbody>
133</table>
134</section>
135<section aria-label="2026-03-02">
136<h2 class="rule-h">
137<span>2026-03-02</span>
138</h2>
139<table class="list commits" aria-label="Commits">
140<tbody data-rows>
141<tr id="c-SHA7">
142<td class="c-sha mute">SHA7</td>
143<td class="c-subject">
144<a href="/long/commit/SHA40">commit number 3</a>
145</td>
146<td class="c-ck">
147</td>
148<td class="c-who dim">T</td>
149<td class="c-when nowrap dim">
150<time datetime="STAMP" title="STAMP">AGO</time>
151</td>
152</tr>
153</tbody>
154</table>
155</section>
156</div>
157</main>
158<aside class="rail" aria-label="Context">
159<section aria-labelledby="r-hist">
160<h2 id="r-hist">History</h2>
161<dl class="kv">
162<dt>ref</dt>
163<dd>main</dd>
164<dt>on page</dt>
165<dd>2</dd>
166<dt>path</dt>
167<dd>a.txt</dd>
168<dt>file</dt>
169<dd>
170<a href="/long/blob/main/a.txt">open</a>
171</dd>
172</dl>
173</section>
174<section aria-labelledby="r-refs">
175<h2 id="r-refs">Refs on this page</h2>
176<p class="dim">no tag or branch head here</p>
177</section>
178</aside>
179</div>
180<footer class="foot">
181<span>ermite devel</span>
182<a href="http://example.test/ermite" rel="noopener" title="source of this version (AGPL-3.0-or-later)">source</a>
183<button type="button" class="foot-keys" data-js data-fire="help" aria-haspopup="dialog" aria-controls="panel-help" aria-keyshortcuts="?">
184<kbd aria-hidden="true">?</kbd> keyboard shortcuts</button>
185</footer>
186<div class="hint" role="status" aria-live="polite">
187<span class="hint-nav" :text="document.body.dataset.nav || ''">
188</span>
189<span class="hint-sel" :text="document.body.dataset.sel ? document.body.dataset.sel + ' · y permalink' : ''">
190</span>
191<span class="hint-flash" :text="document.body.dataset.flash || ''">
192</span>
193</div>
194<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()">
195<div class="panel-head">
196<h2>Keyboard shortcuts</h2>
197<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
198<kbd>esc</kbd> close</button>
199</div>
200<div class="keys-pref">
201<label>
202<input type="checkbox" id="keys-off" aria-describedby="keys-note" hx-on:change="ermite.setKeysOff(this.checked)"> Turn off single-key shortcuts</label>
203<p id="keys-note" class="dim">Single-key shortcuts are on. ctrl k and esc work whatever this says.</p>
204</div>
205<dl class="keys">
206<div>
207<dt>
208<kbd>ctrl k</kbd>
209<kbd>:</kbd>
210</dt>
211<dd>go to a section, branch, tag, file or repository</dd>
212</div>
213<div>
214<dt>
215<kbd>?</kbd>
216</dt>
217<dd>this list</dd>
218</div>
219<div>
220<dt>
221<kbd>j</kbd>
222<kbd>k</kbd>
223</dt>
224<dd>move the row cursor down / up</dd>
225</div>
226<div>
227<dt>
228<kbd>enter</kbd>
229</dt>
230<dd>open the row under the cursor; on Files, a directory opens or closes in place</dd>
231</div>
232<div>
233<dt>
234<kbd>↑</kbd>
235<kbd>↓</kbd>
236<kbd>←</kbd>
237<kbd>→</kbd>
238<kbd>home</kbd>
239<kbd>end</kbd>
240</dt>
241<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>
242</div>
243<div>
244<dt>
245<kbd>l</kbd>
246<kbd>h</kbd>
247</dt>
248<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>
249</div>
250<div>
251<dt>
252<kbd>g g</kbd>
253<kbd>G</kbd>
254</dt>
255<dd>first / last row</dd>
256</div>
257<div>
258<dt>
259<kbd>/</kbd>
260</dt>
261<dd>filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)</dd>
262</div>
263<div>
264<dt>
265<kbd>b</kbd>
266</dt>
267<dd>switch branch or tag</dd>
268</div>
269<div>
270<dt>
271<kbd>s</kbd>
272<kbd>t</kbd>
273<kbd>c</kbd>
274<kbd>r</kbd>
275<kbd>m</kbd>
276<kbd>i</kbd>
277</dt>
278<dd>tabs: summary, files, commits, branches & tags, merge requests, issues</dd>
279</div>
280<div>
281<dt>
282<kbd>g h</kbd>
283</dt>
284<dd>home</dd>
285</div>
286<div>
287<dt>
288<kbd>w</kbd>
289</dt>
290<dd>wide mode: use the whole width of the screen, or not (remembered)</dd>
291</div>
292<div>
293<dt>
294<kbd>y</kbd>
295</dt>
296<dd>copy a permalink pinned to the commit</dd>
297</div>
298<div>
299<dt>
300<kbd>d</kbd>
301<kbd>u</kbd>
302<kbd>x</kbd>
303</dt>
304<dd>diff: split / unified / collapse or expand all</dd>
305</div>
306<div>
307<dt>
308<kbd>e</kbd>
309<kbd>E</kbd>
310</dt>
311<dd>diff: the whole file in view / every file, with the lines the hunks hide</dd>
312</div>
313<div>
314<dt>
315<kbd>n</kbd>
316</dt>
317<dd>merge request: next note in the diff</dd>
318</div>
319<div>
320<dt>
321<kbd>esc</kbd>
322</dt>
323<dd>close a dialog, leave a field</dd>
324</div>
325</dl>
326</dialog>
327<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()">
328<div class="panel-head">
329<label for="refs-filter" class="sr">filter branches and tags</label>
330<input id="refs-filter" type="search" placeholder="Switch branch or tag…" autocomplete="off" data-pick="#panel-refs li" hx-on:input="ermite.filter(this)">
331<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
332<kbd>esc</kbd>
333</button>
334</div>
335<div class="panel-cols" data-picklist>
336<section aria-label="Branches">
337<h2>Branches <span class="count">1</span>
338</h2>
339<ul>
340<li>
341<a href="/long/tree/main" aria-current="true">
342<span class="mark" aria-hidden="true">●</span>main</a>
343</li>
344</ul>
345</section>
346<section aria-label="Tags">
347<h2>Tags <span class="count">0</span>
348</h2>
349<ul>
350</ul>
351</section>
352</div>
353</dialog>
354<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()">
355<div class="panel-head">
356<label for="cmd-q" class="sr">go to</label>
357<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)">
358<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
359<kbd>esc</kbd>
360</button>
361</div>
362<ul id="cmd-list" class="cmd-list" role="listbox" aria-label="Targets">
363<li id="cmd-o0" role="option" aria-selected="true" data-k="go home" data-cursor>
364<a href="/" tabindex="-1">
365<span class="lbl">home</span>
366<span class="k">go</span>
367</a>
368</li>
369<li id="cmd-o1" role="option" aria-selected="false" data-k="section summary">
370<a href="/long" tabindex="-1">
371<span class="lbl">summary</span>
372<span class="k">section</span>
373</a>
374</li>
375<li id="cmd-o2" role="option" aria-selected="false" data-k="section files">
376<a href="/long/tree/main" tabindex="-1">
377<span class="lbl">files</span>
378<span class="k">section</span>
379</a>
380</li>
381<li id="cmd-o3" role="option" aria-selected="false" data-k="section commits">
382<a href="/long/commits/main" tabindex="-1">
383<span class="lbl">commits</span>
384<span class="k">section</span>
385</a>
386</li>
387<li id="cmd-o4" role="option" aria-selected="false" data-k="section branches & tags">
388<a href="/long/refs" tabindex="-1">
389<span class="lbl">branches & tags</span>
390<span class="k">section</span>
391</a>
392</li>
393<li id="cmd-o5" role="option" aria-selected="false" data-k="section merge requests">
394<a href="/long/merge-requests" tabindex="-1">
395<span class="lbl">merge requests</span>
396<span class="k">section</span>
397</a>
398</li>
399<li id="cmd-o6" role="option" aria-selected="false" data-k="section releases">
400<a href="/long/releases" tabindex="-1">
401<span class="lbl">releases</span>
402<span class="k">section</span>
403</a>
404</li>
405<li id="cmd-o7" role="option" aria-selected="false" data-k="section actions">
406<a href="/long/actions" tabindex="-1">
407<span class="lbl">actions</span>
408<span class="k">section</span>
409</a>
410</li>
411<li id="cmd-o8" role="option" aria-selected="false" data-k="branch main">
412<a href="/long/tree/main" tabindex="-1">
413<span class="lbl">main</span>
414<span class="k">branch</span>
415</a>
416</li>
417<li id="cmd-o9" role="option" aria-selected="false" data-k="repo diffs">
418<a href="/diffs" tabindex="-1">
419<span class="lbl">diffs</span>
420<span class="k">repo</span>
421</a>
422</li>
423<li id="cmd-o10" role="option" aria-selected="false" data-k="action turn single-key shortcuts on off keyboard">
424<a href="#" data-fire="keys" tabindex="-1">
425<span class="lbl">turn single-key shortcuts off</span>
426<span class="k">action</span>
427</a>
428</li>
429</ul>
430<p class="panel-foot">
431<span>
432<kbd>↑</kbd>
433<kbd>↓</kbd> move</span>
434<span>
435<kbd>enter</kbd> open</span>
436<span>
437<kbd>esc</kbd> close</span>
438</p>
439</dialog>
440<div id="keys" hidden hx-on="k-j from:body -> ermite.move(1);
441 k-k from:body -> ermite.move(-1);
442 k-top from:body -> ermite.edge(false);
443 k-bottom from:body -> ermite.edge(true);
444 k-open from:body -> ermite.open();
445 k-right from:body -> ermite.rail(true);
446 k-left from:body -> ermite.rail(false);
447 k-esc from:body -> ermite.closeDialogs();
448 k-help from:body -> ermite.dialog('panel-help');
449 k-refs from:body -> ermite.dialog('panel-refs', 'refs-filter');
450 k-cmd from:body -> ermite.dialog('panel-cmd', 'cmd-q'); ermiteFinder.load();
451 k-filter from:body -> ermite.focusFilter();
452 k-gh from:body -> ermite.go('.brand');
453 k-s from:body -> ermite.tab('s');
454 k-t from:body -> ermite.tab('t');
455 k-c from:body -> ermite.tab('c');
456 k-r from:body -> ermite.tab('r');
457 k-m from:body -> ermite.tab('m');
458 k-i from:body -> ermite.tab('i');
459 k-next from:body -> ermite.nextNote();
460 k-split from:body -> ermite.layout('split');
461 k-unified from:body -> ermite.layout('unified');
462 k-collapse from:body -> ermite.collapse();
463 k-wide from:body -> window.ermiteWide.toggle();
464 k-expand from:body -> ermite.expandFile();
465 k-expandAll from:body -> ermite.expandAll();
466 k-permalink from:body -> ermite.permalink();
467 k-merge from:body -> window.ermiteMR?.openMerge();
468 k-read from:body -> window.ermiteMR?.markRead();
469 k-gf from:body -> window.ermiteMR?.focusFiles();
470 k-keys from:body -> ermite.toggleKeys()">
471</div>
472</body>
473</html>