From 97045616d8685c58596e4eb65b6be6110795c11f Mon Sep 17 00:00:00 2001 From: Art Date: Thu, 18 May 2017 18:09:24 +0100 Subject: [PATCH] Set GIT_INSTALL_ROOT variable on installation The GIT_INSTALL_ROOT env is required by cmder, otherwise it starts giving "Found old git at C:\Users\\scoop\apps, but not using..." --- git.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git.json b/git.json index 30aa1b0265..5a427c12a6 100644 --- a/git.json +++ b/git.json @@ -32,6 +32,9 @@ and then restart powershell.", "url": "https://github.com/git-for-windows/git/releases/latest", "re": "v(?[\\d\\w.]+)/PortableGit-(?[\\d.]+).*\\.exe" }, + "env_set": { + "GIT_INSTALL_ROOT": "$dir" + }, "autoupdate": { "architecture": { "64bit": {