aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/github.rs2
-rw-r--r--src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/github.rs b/src/github.rs
index a3bb74e..7af0d93 100644
--- a/src/github.rs
+++ b/src/github.rs
@@ -43,7 +43,7 @@ pub struct Repo {
pub name: String,
pub description: Option<String>,
pub fork: bool,
- pub git_url: String,
+ pub clone_url: String,
pub default_branch: String,
pub size: u64,
pub updated_at: String,
diff --git a/src/main.rs b/src/main.rs
index 6ff441b..2360f57 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -241,7 +241,7 @@ where
P2: AsRef<Path>,
{
git::mirror(
- &repo.git_url,
+ &repo.clone_url,
&clone_path,
repo.description(),
&repo.default_branch,