[intro] assume same project and repo name when no subfolder is given for gitorious
This commit is contained in:
parent
96074e15c2
commit
45d2086037
|
@ -321,11 +321,17 @@ namespace SparkleShare {
|
||||||
|
|
||||||
server = "ssh://git@gitorious.org";
|
server = "ssh://git@gitorious.org";
|
||||||
|
|
||||||
if (!name.EndsWith (".git"))
|
if (!name.EndsWith (".git")) {
|
||||||
|
|
||||||
|
if (!name.Contains ("/"))
|
||||||
|
name = name + "/" + name;
|
||||||
|
|
||||||
name += ".git";
|
name += ".git";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if (radio_button_github.Active)
|
if (radio_button_github.Active)
|
||||||
server = "ssh://git@github.com";
|
server = "ssh://git@github.com";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue