chlog: default the history cap to 50
An entry listing 500 commits is not a useful draft, and 50 keeps the default window small enough that even the first run on a kernel-sized tree stays instant. --limit still takes any value, 0 for unlimited.
This commit is contained in:
1 parent
0a24db28bc
commit
8e6035c185
2 files changed
+4
-7
No files matched your search
@@ -118,9 +118,9 @@ with `--file <path>` (`-f`).
|
||||
|
||||
`pkh chlog` walks the commit history back to the previous changelog entry.
|
||||
That walk, and the list of commits the entry is built from, are capped at
|
||||
500 commits (`--limit <n>`, `0` = unlimited): a boundary far behind HEAD —
|
||||
50 commits (`--limit <n>`, `0` = unlimited): a boundary far behind HEAD —
|
||||
a stale version tag in a kernel-sized history — truncates the entry to the
|
||||
newest 500 commits instead of crawling the whole range, which keeps the
|
||||
newest 50 commits instead of crawling the whole range, which keeps the
|
||||
run fast on large histories.
|
||||
|
||||
### Incremental builds (build records)
|
||||
|
||||
Reference in new issue
Block a user