v0.30.0 c899179

commits-path.html RawHistoryFolder

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

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
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
l h
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
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 2

Tags 45

↑↓ moveenter openesc close