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

Re: The git spring cleanup challenge

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Jun 2, 2021, 03:59 UTC
Message-ID
<60b70209342d1_511920812@natae.notmuch>
In-Reply-To
<8f8d023a-936a-948f-7b36-655774319ba9@gmail.com>
Bagas Sanjaya wrote:
Show 13 quoted lines
> On 01/06/21 13.24, Felipe Contreras wrote:
> > Once you've lost, reply to this message with the configuration you could
> > not live without.
> > 
> 
> I'm not opting in into the challenge, but here are my mandatory global 
> configurations:
> 
> > [core]
> >         editor = rvim
> 
> I set core.editor to rvim because of my habit to edit using restricted 
> vim (as I only use vim to edit files, nothing else).
Why not VISUAL=rvim? (or EDITOR)
Show 7 quoted lines
> > [merge]
> >         conflictstyle = diff3
> 
> With diff3 conflict style, I can clearly see the context of conflict 
> (base) instead of having to choose between either side without context.
> 
> For several repos, I do GPG-sign commits, so the required config is:
Yeap, just like apparently everyone else.
Show 9 quoted lines
> On very large repos I have (for example GCC and Linux kernel), I have:
> 
> > [pack]
> >         packSizeLimit = 650m
> >         windowMemory = 400m
> 
> Both pack.packSizeLimit and pack.windowMemory helps when doing 
> git-repack there. With the former, the resulting pack file is limited to 
> 650M size each, and the latter set memory window during delta compression.

All right. But I presume you don't need to do `git repack` that often. You can wait a month, or type --max-pack-size --window-memory if you really must run it.

Either way it's probably not some defaults that newcomers would benefit from.

Cheers.
-- 
Felipe Contreras
Previous: Bagas SanjayaNext: Ævar Arnfjörð Bjarmason
Message 48 of 55 in “The git spring cleanup challenge”
  1. Felipe ContrerasJun 1, 2021
  2. AndyJun 1, 2021
  3. Felipe ContrerasJun 1, 2021
  4. Đoàn Trần Công DanhJun 1, 2021
  5. Felipe ContrerasJun 1, 2021
  6. Đoàn Trần Công DanhJun 1, 2021
  7. Felipe ContrerasJun 1, 2021
  8. Đoàn Trần Công DanhJun 1, 2021
  9. Felipe ContrerasJun 1, 2021
  10. Đoàn Trần Công DanhJun 2, 2021
  11. Felipe ContrerasJun 2, 2021
  12. Ævar Arnfjörð BjarmasonJun 3, 2021
  13. Felipe ContrerasJun 3, 2021
  14. Sergey OrganovJun 3, 2021
  15. Ævar Arnfjörð BjarmasonJun 3, 2021
  16. Felipe ContrerasJul 2, 2021
  17. Ævar Arnfjörð BjarmasonJul 2, 2021
  18. Felipe ContrerasJul 2, 2021
  19. David AguilarJun 1, 2021
  20. Junio C HamanoJun 1, 2021
  21. Junio C HamanoJun 1, 2021
  22. Felipe ContrerasJun 1, 2021
  23. Johannes SixtJun 2, 2021
  24. Felipe ContrerasJun 2, 2021
  25. Junio C HamanoJun 2, 2021
  26. Felipe ContrerasJun 2, 2021
  27. Đoàn Trần Công DanhJun 2, 2021
  28. Johannes SixtJun 2, 2021
  29. Felipe ContrerasJun 1, 2021
  30. Sergey OrganovJun 2, 2021
  31. Junio C HamanoJun 3, 2021
  32. Sergey OrganovJun 3, 2021
  33. Sergey OrganovJun 1, 2021
  34. Felipe ContrerasJun 1, 2021
  35. Sergey OrganovJun 2, 2021
  36. Felipe ContrerasJun 2, 2021
  37. Sergey OrganovJun 2, 2021
  38. Felipe ContrerasJun 2, 2021
  39. Sergey OrganovJun 2, 2021
  40. Junio C HamanoJun 3, 2021
  41. Felipe ContrerasJun 3, 2021
  42. Elijah NewrenJun 3, 2021
  43. Felipe ContrerasJun 3, 2021
  44. Elijah NewrenJun 3, 2021
  45. Felipe ContrerasJun 3, 2021
  46. Sergey OrganovJun 3, 2021
  47. Bagas SanjayaJun 2, 2021
  48. Felipe ContrerasJun 2, 2021
  49. Ævar Arnfjörð BjarmasonJun 3, 2021
  50. Felipe ContrerasJun 3, 2021
  51. Ævar Arnfjörð BjarmasonJun 3, 2021
  52. Phillip WoodJun 3, 2021
  53. Ævar Arnfjörð BjarmasonJun 3, 2021
  54. Phillip WoodJun 4, 2021
  55. Felipe ContrerasJun 3, 2021

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.