From 69f7e9d2a089cd011758c4c57381cbf0d40f74f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Mon, 19 Jan 2026 12:22:50 +0100 Subject: [PATCH] Add more git push logs --- src/bors/gitops.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/bors/gitops.rs b/src/bors/gitops.rs index 118f6488..dd1cc710 100644 --- a/src/bors/gitops.rs +++ b/src/bors/gitops.rs @@ -90,17 +90,21 @@ impl Git { token.expose_secret() ); - tracing::debug!("Pushing commit"); + tracing::debug!( + "Pushing commit to https://bors:@github.com/{target_repo}.git, refspec `{refspec}`" + ); // And then push the commit run_command( tokio::process::Command::new(&self.git) .kill_on_drop(true) .current_dir(&clone_path) + .env("GIT_TRACE", "1") // Do not store the token on disk - .arg("-c") - .arg("credential.helper=") + // .arg("-c") + // .arg("credential.helper=") .arg("push") + .arg("-v") .arg(&target_repo_url) .arg(refspec), )