[repo] don't rely on Git# Directory property

This commit is contained in:
Hylke Bons 2011-04-20 16:23:02 +02:00
parent f5f80e9a8d
commit 1d3d5fe82a

View file

@ -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;