controller: .git wasn't stripped off of folder names
This commit is contained in:
parent
e1813d9d5d
commit
93a921322b
|
@ -641,6 +641,9 @@ namespace SparkleShare {
|
|||
this.fetcher.Complete ();
|
||||
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 ("_", " ");
|
||||
canonical_name = canonical_name.Replace ("%20", " ");
|
||||
|
|
Loading…
Reference in a new issue