Re: The git spring cleanup challenge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bagas Sanjaya wrote:
> 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)

> > [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.

> 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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux