From c3aaea3332769c54620b55512bc958b0156e1564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Mon, 13 Jun 2022 22:47:49 +0200 Subject: [PATCH] Quote branch name on output --- src/repo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repo.rs b/src/repo.rs index 763705b..f6b92d5 100644 --- a/src/repo.rs +++ b/src/repo.rs @@ -1180,7 +1180,7 @@ impl RepoHandle { && !branch_name.ends_with(&format!("{}{}", super::BRANCH_NAMESPACE_SEPARATOR, name)) { return Err(WorktreeRemoveFailureReason::Error(format!( - "Branch {} is checked out in worktree, this does not look correct", + "Branch \"{}\" is checked out in worktree, this does not look correct", &branch_name ))); }