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