We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab0b30f commit 3ba8e0cCopy full SHA for 3ba8e0c
Scripts/CustomEditor/Git.cs
@@ -7,7 +7,6 @@
7
using System.IO;
8
using System.Threading.Tasks;
9
using UnityEditor;
10
-using UnityEngine;
11
12
namespace CandyCoded.GitStatus
13
{
@@ -19,9 +18,7 @@ public static class Git
19
18
static Git()
20
21
22
- GitPath = SystemInfo.operatingSystemFamily.Equals(OperatingSystemFamily.Windows)
23
- ? @"C:\Program Files\Git\bin\git.exe"
24
- : "/usr/local/bin/git";
+ GitPath = GitSettings.GitPath;
25
26
RepoPath = $"{Environment.CurrentDirectory}{Path.DirectorySeparatorChar}";
27
0 commit comments