[repo] don't rely on Git# Directory property
This commit is contained in:
parent
f5f80e9a8d
commit
1d3d5fe82a
|
@ -690,7 +690,7 @@ namespace SparkleLib {
|
||||||
// Gets the repository's description
|
// Gets the repository's description
|
||||||
private string GetDescription ()
|
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))
|
if (!File.Exists (description_file_path))
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue