Don't force ssh clone, it was stupid
This commit is contained in:
parent
d6bad5f61c
commit
d0c0881271
|
@ -4,7 +4,7 @@ extern crate log;
|
|||
use std::path::PathBuf;
|
||||
use std::process::exit;
|
||||
|
||||
use gclone::git::{clone, parse_url, parse_to_url, GCLONE_PATH};
|
||||
use gclone::git::{clone, parse_url, GCLONE_PATH};
|
||||
use gclone::{first_arg, Cache, Result};
|
||||
|
||||
fn help() {
|
||||
|
@ -12,7 +12,6 @@ fn help() {
|
|||
}
|
||||
|
||||
fn main_result() -> Result<()> {
|
||||
|
||||
// Init beautylog
|
||||
beautylog::init(log::LevelFilter::Info).ok();
|
||||
|
||||
|
@ -37,8 +36,6 @@ fn main_result() -> Result<()> {
|
|||
path.push(&owner);
|
||||
path.push(&repo);
|
||||
|
||||
let url = parse_to_url(&server, &owner, &repo);
|
||||
|
||||
// Clone repository
|
||||
info!("{} {}{}", "cloning", url, "...");
|
||||
clone(&url, &path)?;
|
||||
|
|
Loading…
Reference in New Issue