Re: Storing private config files in .git directory?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 8, 2024, 18:20 UTC
- Message-ID
- <xmqq34v7lmb3.fsf@gitster.g>
- In-Reply-To
- <8e344dee-f84e-4a2c-835a-406ee72d129b@haller-berlin.de>
Stefan Haller <lists@haller-berlin.de> writes:
> Our git client (lazygit) has a need to store per-repo config files that > override the global one, much like git itself. The easiest way to do > that is to store those in a .git/lazygit.cfg file, and I'm wondering if > there's any reason why this is a bad idea?
An obvious alternative is to have .lazygit directory next to .git directory which would give you a bigger separation, which can cut both ways.