miniblog.

← Back to all posts
12
Sometimes when reviewing code I want to look at the tests first (e.g. LLVM lit tests) and sometimes I want to look at the logic first (when unit tests are verbose). Most interfaces just sort files alphabetically though. There must be a better way we could build?

2 Comments

@wilfredh The traditional git-mail list stuff makes that easier because you separate the change into a set of separable commits; gerrit also shows the separate commits separately.
The author usually knows which one tells the story. A "read in this order" list in the PR description costs nothing today, but GitHub won't sort the files by it. I'd take that over any fixed rule, since lit tests and verbose unit tests want opposite orders.