summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-06-09 23:03:30 +0200
committerJoel Klinghed <the_jk@spawned.biz>2025-06-12 09:12:27 +0200
commitbaa7c85ff3db2366d67ac875fca48ad6dcabf212 (patch)
tree490b357aa08394a1ee7fb92dd52e72af6ca335ba /server/src
parent7311e02c89b66849f5e660b690ca69b5e8fd1383 (diff)
git: Make fetch return the new head for the fetched branch
Diffstat (limited to 'server/src')
-rw-r--r--server/src/git_root.rs2
1 files changed, 1 insertions, 1 deletions
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:?}");
}