summaryrefslogtreecommitdiff
path: root/contrib/vscode
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2021-06-22 10:46:48 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-06-28 20:11:51 -0700
commite355307692f49f2f02275b083e91532efed9f7c0 (patch)
treea4f19a2f1fe5b0758605bb0768b3592a827d6b39 /contrib/vscode
parentcmake(windows): set correct path to the system Git config (diff)
downloadtgif-e355307692f49f2f02275b083e91532efed9f7c0.tar.xz
config: normalize the path of the system gitconfig
Git for Windows is compiled with a runtime prefix, and that runtime prefix is typically `C:/Program Files/Git/mingw64`. As we want the system gitconfig to live in the sibling directory `etc`, we define the relative path as `../etc/gitconfig`. However, as reported by Philip Oakley, the output of `git config --show-origin --system -l` looks rather ugly, as it shows the path as `file:C:/Program Files/Git/mingw64/../etc/gitconfig`, i.e. with the `mingw64/../` part. By normalizing the path, we get a prettier path. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/vscode')
0 files changed, 0 insertions, 0 deletions