From baa7c85ff3db2366d67ac875fca48ad6dcabf212 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 9 Jun 2025 23:03:30 +0200 Subject: git: Make fetch return the new head for the fetched branch --- server/src/git_root.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src') diff --git a/server/src/git_root.rs b/server/src/git_root.rs index 01cc2b5..71ad96f 100644 --- a/server/src/git_root.rs +++ b/server/src/git_root.rs @@ -535,7 +535,7 @@ async fn setup_project_root( let bg_project_id = project_id.clone(); tokio::spawn(async move { match bg_repo.fetch(&main_branch).await { - Ok(()) => {} + Ok(_) => {} Err(e) => { error!("{bg_project_id}: fetch {main_branch} returned {e:?}"); } -- cgit v1.2.3-70-g09d2