Skip to content

Commit f2eb63f

Browse files
committed
TO-DROP: allow overriding the Git version to use in Functional Tests
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 41569ce commit f2eb63f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

GVFS/GVFS.FunctionalTests/Settings.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ public static void Initialize()
4747
EnlistmentRoot = @"C:\Repos\GVFSFunctionalTests\enlistment";
4848
PathToGVFS = @"C:\Program Files\VFS for Git\GVFS.exe";
4949
PathToGit = @"C:\Program Files\Git\cmd\git.exe";
50+
if (Environment.GetEnvironmentVariable("DDDGIT") != null)
51+
{
52+
PathToGit = Environment.GetEnvironmentVariable("DDDGIT");
53+
}
5054
PathToBash = @"C:\Program Files\Git\bin\bash.exe";
5155

5256
ControlGitRepoRoot = @"C:\Repos\GVFSFunctionalTests\ControlRepo";

0 commit comments

Comments
 (0)