fix: satisfy clippy and stabilize app startup test

This commit is contained in:
lucaronin
2026-04-19 16:28:02 +02:00
parent 374b4f6686
commit f5cc5ffb4f
2 changed files with 4 additions and 7 deletions

View File

@@ -132,7 +132,7 @@ fn finish_remote_connection(vault: &Path, connection: &RemoteConnection) -> GitA
{
return connect_result(
ConnectStatus::IncompatibleHistory,
&format!(
format!(
"This repository already has git branches, but not '{}'. Use an empty repository or one created from this vault.",
connection.branch
),
@@ -154,7 +154,7 @@ fn finish_remote_connection(vault: &Path, connection: &RemoteConnection) -> GitA
if behind > 0 {
return connect_result(
ConnectStatus::IncompatibleHistory,
&format!(
format!(
"This repository already has commits on '{}' that are not in this vault. Tolaria will not connect it automatically.",
connection.branch
),
@@ -307,7 +307,7 @@ fn classify_connect_error(stderr: &str) -> GitAddRemoteResult {
connect_result(
ConnectStatus::Error,
&format!(
format!(
"Could not connect that remote: {}",
concise_git_detail(stderr)
),