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

[PATCH 0/3] Move Git for Windows' system config to its top-level directory's etc/

From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
Date
Jun 22, 2021, 10:46 UTC
Message-ID
<pull.984.git.1624358809.gitgitgadget@gmail.com>

Implementation details let Git for Windows' git.exe live in /mingw64/bin (that is the pseudo-Unix path, of course, the real Windows path will be prefixed by the actual installation location). This resulted in the awkward location of the system config in C:\Program Files\Git\mingw64\etc\gitconfig, and that is what Git for Windows v2.x used for a few years.

A much more natural location, however, is the same path without that mingw64 infix. Therefore, the Git for Windows project switched (back) to that location for a while now.

It is time to bring that change into core Git.
Dennis Ameling (1):
  cmake(windows): set correct path to the system Git config
Johannes Schindelin (2):
  mingw: move Git for Windows' system config where users expect it
  config: normalize the path of the system gitconfig
 config.c                            |  7 ++++---
 config.mak.uname                    | 10 ++++++++++
 contrib/buildsystems/CMakeLists.txt | 11 +++++++----
 3 files changed, 21 insertions(+), 7 deletions(-)
base-commit: 670b81a890388c60b7032a4f5b879f2ece8c4558
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-984%2Fdscho%2Fmove-gfw-system-config-to-top-level-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-984/dscho/move-gfw-system-config-to-top-level-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/984
-- 
gitgitgadget
Next: Dennis Ameling via GitGitGadget
Message 1 of 4 in “Move Git for Windows' system config to its top-level directory's etc/”
  1. 0/3 Move Git for Windows' system config to its top-level directory's etc/Johannes Schindelin via GitGitGadget, Jun 22, 2021
  2. 2/3 cmake(windows): set correct path to the system Git configDennis Ameling via GitGitGadget, Jun 22, 2021
  3. 3/3 config: normalize the path of the system gitconfigJohannes Schindelin via GitGitGadget, Jun 22, 2021
  4. 1/3 mingw: move Git for Windows' system config where users expect itJohannes Schindelin via GitGitGadget, Jun 22, 2021

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.