Merge pull request #2234 from gitbutlerapp/push-all-refs

Push all refs
This commit is contained in:
Nikita Galaiko 2024-01-12 09:04:25 +01:00 committed by GitHub
commit ab7e4eb73f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,9 +220,8 @@ fn push_all_refs(
let all_refs = all_refs.iter().map(String::as_str).collect::<Vec<_>>(); let all_refs = all_refs.iter().map(String::as_str).collect::<Vec<_>>();
let anything_pushed = project_repository let anything_pushed =
.push_to_gitbutler_server(user.as_ref(), all_refs.as_slice()) project_repository.push_to_gitbutler_server(user.as_ref(), all_refs.as_slice())?;
.context("failed to push project (all refs) to gitbutler")?;
if anything_pushed { if anything_pushed {
tracing::info!( tracing::info!(