diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2015-09-12 19:08:43 +0300 |
---|---|---|
committer | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2015-09-12 19:08:47 +0300 |
commit | 21b9aaf1390d4148da8b3e413a3862715123fe5f (patch) | |
tree | efeee15bdead5c2547cc6369a79d392abb316cc3 | |
parent | 34dd6424fcbff06d55087d2649805a9a61c257d7 (diff) |
[Git] Fix UnitTests on Mac
The temporary folders are in a symlinked path. Let's fix symlinked paths
fully.
-rw-r--r-- | main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs index 3a0598e2e1..96bc74e8fc 100644 --- a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs +++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitVersionControl.cs @@ -63,7 +63,7 @@ namespace MonoDevelop.VersionControl.Git protected override FilePath OnGetRepositoryPath (FilePath path, string id) { - return LibGit2Sharp.Repository.Discover (path); + return LibGit2Sharp.Repository.Discover (path.ResolveLinks ()); } internal void UnregisterRepo (GitRepository repo) |