History

add options related to commitgraph to `gix config tree`

Note that we mention specifically our inability to find a test for https://github.com/git/git/blob/fe86abd7511a9a6862d5706c6fa1d9b57a63ba09/commit-graph.c#L796-L805

Sebastian Thiel committed 3 years ago

Commit 7aaaebf1 parent 1fdaf711 file · +12 −0Browse files

Showing the changes to src (1 of 1 file). Show all

Unified · Split

src/plumbing/progress.rs+12−0
@@ -180,6 +180,18 @@ static GIT_CONFIG: &[Record] = &[ · 179 unmodified lines
180180 config: "core.preloadIndex",
181181 usage: Planned {note: Some("it's enabled by default and allows parallel stat checks - it's using a lot of CPU for just minor performance boosts though")},
182182 },
183+ Record {
184+ config: "commitGraph.generationVersion",
185+ usage: NotPlanned { reason: "couldn't find a test that would require corrected generation numbers, even `git` has no test for this." },
186+ },
187+ Record {
188+ config: "commitGraph.maxNewFilters",
189+ usage: NotPlanned { reason: "can be considered when the underlying feature is actually used or needed" },
190+ },
191+ Record {
192+ config: "commitGraph.readChangedPaths",
193+ usage: NotPlanned { reason: "can be considered when the underlying feature is actually used or needed" },
194+ },
183195 Record {
184196 config: "index.sparse",
185197 usage: Planned {note: Some("we can read sparse indices and support for it will be added early on")},