git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 5/5] scalar: document config settings

From
Derrick Stolee <stolee@gmail.com>
Date
Nov 30, 2025, 19:56 UTC
Message-ID
<a4d60418-f48a-4321-b305-d37ae2f752b1@gmail.com>
In-Reply-To
<xmqqbjkol4je.fsf@gitster.g>
On 11/26/2025 7:09 PM, Junio C Hamano wrote:
Show 9 quoted lines
> "Derrick Stolee via GitGitGadget" <gitgitgadget@gmail.com> writes:
> 
>> +commitGraph.generationVersion=1::
>> +	While the preferred version is 2 for performance reasons, existing users
>> +	that had version 1 by default will need special care in upgrading to
>> +	version 2. This is likely to change in the future as the upgrade story
>> +	is solidifies.
> 
> "as the upgrade story solidifies"?
That's better than what I was going for which was "is solidified". Will fix.
Show 7 quoted lines
>> +fetch.writeCommitGraph=false::
>> +	This config setting was created to help users automatically udpate their
>> +	commit-graph files as they perform fetches. However, this takes time
>> +	from foreground fetches and pulls and Scalar uses background maintenance
>> +	for this function instead.
> 
> "update their files".
Yes. thanks.
Show 7 quoted lines
>> +index.threads=true::
>> +	This tells Git to automatically detect how many threads it should use
>> +	when reading the index in parallel due to the `core.preloadIndex=true`
>> +	setting.
> 
> Is "due to the `core.preloadIndex=true` setting" part of this
> sentence still relevant?

I should still include this, but mention that it is enabled by default and still recommended.

> Other than that, superbly written.  Thanks, will queue.

Thanks, -Stolee

Previous: Derrick StoleeNext: Patrick Steinhardt
Message 12 of 48 in “Audit and document Scalar config”
  1. 0/5 Audit and document Scalar configDerrick Stolee via GitGitGadget, Nov 26, 2025
  2. 1/5 scalar: annotate config file with "set by scalar"Derrick Stolee via GitGitGadget, Nov 26, 2025
  3. 2/5 scalar: use index.skipHash=true for performanceDerrick Stolee via GitGitGadget, Nov 26, 2025
  4. 3/5 scalar: remove stale config valuesDerrick Stolee via GitGitGadget, Nov 26, 2025
  5. 4/5 scalar: alphabetize and simplify configDerrick Stolee via GitGitGadget, Nov 26, 2025
  6. 5/5 scalar: document config settingsDerrick Stolee via GitGitGadget, Nov 26, 2025
  7. Junio C HamanoNov 26, 2025
  8. Junio C HamanoNov 26, 2025
  9. Junio C HamanoNov 27, 2025
  10. Junio C HamanoNov 27, 2025
  11. Derrick StoleeNov 30, 2025
  12. Derrick StoleeNov 30, 2025
  13. Patrick SteinhardtDec 1, 2025
  14. Patrick SteinhardtDec 1, 2025
  15. Patrick SteinhardtDec 1, 2025
  16. Derrick StoleeDec 1, 2025
  17. Derrick StoleeDec 1, 2025
  18. Johannes SchindelinDec 1, 2025
  19. 0/5 Audit and document Scalar configDerrick Stolee via GitGitGadget, Dec 1, 2025
  20. 1/5 scalar: annotate config file with "set by scalar"Derrick Stolee via GitGitGadget, Dec 1, 2025
  21. 2/5 scalar: use index.skipHash=true for performanceDerrick Stolee via GitGitGadget, Dec 1, 2025
  22. 3/5 scalar: remove stale config valuesDerrick Stolee via GitGitGadget, Dec 1, 2025
  23. 4/5 scalar: alphabetize and simplify configDerrick Stolee via GitGitGadget, Dec 1, 2025
  24. 5/5 scalar: document config settingsDerrick Stolee via GitGitGadget, Dec 1, 2025
  25. Matthew HughesDec 1, 2025
  26. Matthew HughesDec 1, 2025
  27. Junio C HamanoDec 2, 2025
  28. Patrick SteinhardtDec 2, 2025
  29. Patrick SteinhardtDec 2, 2025
  30. Patrick SteinhardtDec 2, 2025
  31. Matthew HughesDec 2, 2025
  32. Patrick SteinhardtDec 2, 2025
  33. Junio C HamanoDec 7, 2025
  34. Patrick SteinhardtDec 8, 2025
  35. Henrique FerreiroDec 11, 2025
  36. Derrick StoleeDec 12, 2025
  37. Derrick StoleeDec 12, 2025
  38. 0/5 Audit and document Scalar configDerrick Stolee via GitGitGadget, Dec 12, 2025
  39. 1/5 scalar: annotate config file with "set by scalar"Derrick Stolee via GitGitGadget, Dec 12, 2025
  40. 2/5 scalar: use index.skipHash=true for performanceDerrick Stolee via GitGitGadget, Dec 12, 2025
  41. 3/5 scalar: remove stale config valuesDerrick Stolee via GitGitGadget, Dec 12, 2025
  42. 4/5 scalar: alphabetize and simplify configDerrick Stolee via GitGitGadget, Dec 12, 2025
  43. 5/5 scalar: document config settingsDerrick Stolee via GitGitGadget, Dec 12, 2025
  44. Junio C HamanoDec 12, 2025
  45. Henrique FerreiroDec 15, 2025
  46. Henrique FerreiroDec 15, 2025
  47. Derrick StoleeDec 15, 2025
  48. Junio C HamanoDec 16, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.