controller: .git wasn't stripped off of folder names
This commit is contained in:
parent
aed8c86a38
commit
1875041f76
|
@ -641,6 +641,9 @@ namespace SparkleShare {
|
||||||
this.fetcher.Complete ();
|
this.fetcher.Complete ();
|
||||||
string canonical_name = Path.GetFileName (this.fetcher.RemoteUrl.AbsolutePath);
|
string canonical_name = Path.GetFileName (this.fetcher.RemoteUrl.AbsolutePath);
|
||||||
|
|
||||||
|
if (canonical_name.EndsWith (".git"))
|
||||||
|
canonical_name = canonical_name.Replace (".git", "");
|
||||||
|
|
||||||
canonical_name = canonical_name.Replace ("-crypto", "");
|
canonical_name = canonical_name.Replace ("-crypto", "");
|
||||||
canonical_name = canonical_name.Replace ("_", " ");
|
canonical_name = canonical_name.Replace ("_", " ");
|
||||||
canonical_name = canonical_name.Replace ("%20", " ");
|
canonical_name = canonical_name.Replace ("%20", " ");
|
||||||
|
|
Loading…
Reference in a new issue