git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Greg HurrellNext: Phillip Wood
Message 6 of 10 in “git-checkout doesn't seem to respect config from include.path”
  1. Greg HurrellFeb 2, 2022
  2. brian m. carlsonFeb 2, 2022
  3. Greg HurrellFeb 3, 2022
  4. Phillip WoodFeb 3, 2022
  5. Greg HurrellFeb 3, 2022
  6. Greg HurrellFeb 3, 2022
  7. Phillip WoodFeb 7, 2022
  8. Junio C HamanoFeb 3, 2022
  9. Phillip WoodFeb 7, 2022
  10. Junio C HamanoFeb 7, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.