summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2026-02-03 19:53:44 +0100
committerJesper Jensen <jesper@jnsn.dev>2026-02-03 19:53:44 +0100
commitd280db3939bc3d5d0c61f19c30b42aa5c5c3d195 (patch)
treeb32d02dabc11a3393cb4af64b0d933be9b22c93c
parent3e02af5855b544355dff4cc73a68bbdf0dcb5341 (diff)
Add some logging
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 7b843b0..6b4839f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -585,6 +585,7 @@ fn run_tool(db: &Connection, auth: &mut Auth, repos: &Vec<Repository>, mut infil
}
} else {
let mut gitcmd = std::process::Command::new("git");
+ println!("Cloning {}", repo.url);
gitcmd
.arg("clone")
@@ -592,6 +593,7 @@ fn run_tool(db: &Connection, auth: &mut Auth, repos: &Vec<Repository>, mut infil
.arg(&repo.dest);
if let Some(key) = &repo.key {
+ println!("Using repo key {}", key.display());
gitcmd.env("GIT_SSH_COMMAND", format!("ssh -F none -o IdentitiesOnly=yes -i \"{}\"", key.to_str().unwrap()));
}