From 634aa70523867b4e67e5c837695df8b6595c9ccb Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 7 Jun 2025 10:30:59 +0200 Subject: fix(back::config::BackRepositories): Strip a `.git` suffix from repo paths --- src/error/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/error/mod.rs') diff --git a/src/error/mod.rs b/src/error/mod.rs index f109e11..0d25d90 100644 --- a/src/error/mod.rs +++ b/src/error/mod.rs @@ -58,7 +58,10 @@ pub enum Error { #[error("while trying to read an identity's data from a replica: {0}")] RepoIdentityRead(#[from] replica::entity::read::Error), - #[error("failed to find the repository at path: '{repository_path}'")] + #[error( + "failed to find the repository at path: '{repository_path}' (Not registered in \ + projects.list)" + )] RepoFind { repository_path: PathBuf }, #[error("while iteration over the refs in a repository: {0}")] -- cgit 1.4.1