From 62a9afbb70d863dd1d41aa2929802aa489139da5 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 27 Nov 2010 20:52:55 +0000 Subject: [PATCH] [repo] Combine paths properly --- SparkleLib/SparkleRepo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SparkleLib/SparkleRepo.cs b/SparkleLib/SparkleRepo.cs index 10cac773..cd4e5f67 100644 --- a/SparkleLib/SparkleRepo.cs +++ b/SparkleLib/SparkleRepo.cs @@ -889,7 +889,7 @@ namespace SparkleLib { file_path.Contains (".git") || file_path.Contains ("/.") || file_path.EndsWith (".swp") || - System.IO.Directory.Exists (LocalPath + file_path)) { + System.IO.Directory.Exists (Path.Combine (LocalPath, file_path))) { return true; // Yes, ignore it