~/talk

Annotating diffs

Talkat Git Merge 2018 · 2018-03-07..03-08· [developer-experience]
links:none on file
slides:none on file

Proposes an annotated diff format that prefixes each changed line with the commit hash and original line number, and tracks renames so removed lines show who deleted them; uses git annotate, reverse walks and DAG walking to generate those annotations; implements an incremental single-file algorithm that aims for one DAG walk and no cache but finds it produces nonstandard diffs and needs repeated diff passes; settles on a pragmatic fast approach: generate the exact diff first, then cache line ranges and walk the DAG twice for correctness and performance.

AI-written summary · about

  1. 0:00Intro
  2. 0:15DIFs
  3. 6:03GetAnnotating
  4. 8:28Walk the dag
  5. 11:32Premature optimization
  6. 11:45Simplified single file case
  7. 13:07Things to not worry about
  8. 15:52Tracking line numbers
  9. 22:42The scorecard
  10. 23:58The slow way
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.