Re: git-checkout doesn't seem to respect config from include.path
- From
Greg Hurrell <greg@hurrell.net>
- Date
- Feb 3, 2022, 17:42 UTC
- Message-ID
- <606851c7-110d-486e-9e39-0a00444caad8@beta.fastmail.com>
- In-Reply-To
- <3f1972f3-c764-41e9-9853-8f1c303d4f6b@beta.fastmail.com>
Minor correction to what I said here:
On Thu, Feb 3, 2022, at 6:39 PM, Greg Hurrell wrote:
Show 5 quoted lines
> > That gave me the idea of moving the `include.path` setting higher up in > the file, to see if `git checkout` would consult that value first, but > it doesn't work; `git config merge.conflictStyle` shows the value from > the file indicated in `include.path`
It only did that because I forgot to remove the original `include.path` from the bottom of the config. Once I removed that, `git config` showed the value from ~/.gitconfig. `git checkout` behaved the same either way.
Greg