Hi Randall, On Thu, Dec 26, 2024 at 03:46:29PM -0500, rsbecker@xxxxxxxxxxxxx wrote: > >So, I prefer /etc/gitconfig over /etc/git/config + GIT_CONFIG_SYSTEM, but I prefer > >/etc/git/config over both. > > One possible thing is to have your central git config, wherever you put it, use [include] sections. > These allow flexibility to pull in relevant configurations depending on the qualification > of the include. Maybe something else to think about. I had forgotten about core.attributesFile and core.excludesFile. I now have /etc/gitconfig, and then everything else under /etc/git/, and have [core] attributesFile = /etc/git/attributes excludesFile = /etc/git/ignore This seems quite decent. Have a lovely new year! Alex > > An enhancement like this is high impact and would touch a fair amount of code. It is not > Just for --system, but --global and --local also. The semantic of specifying and resolving > Configurations and attributes (inherited in repositories) are significant. > > --Randall > > > -- <https://www.alejandro-colomar.es/>
Attachment:
signature.asc
Description: PGP signature