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