From 1d3d5fe82aac058fb531592f971ffb4b7dcb0e4c Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 20 Apr 2011 16:23:02 +0200 Subject: [PATCH] [repo] don't rely on Git# Directory property --- SparkleLib/SparkleRepo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SparkleLib/SparkleRepo.cs b/SparkleLib/SparkleRepo.cs index 4beaba0d..6f67428d 100644 --- a/SparkleLib/SparkleRepo.cs +++ b/SparkleLib/SparkleRepo.cs @@ -690,7 +690,7 @@ namespace SparkleLib { // Gets the repository's description private string GetDescription () { - string description_file_path = SparkleHelpers.CombineMore (Directory, "description"); + string description_file_path = SparkleHelpers.CombineMore (LocalPath, ".git", "description"); if (!File.Exists (description_file_path)) return null;