summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-05-21 21:03:36 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-05-21 21:03:36 +0200
commit50526acfb2251d1076c3486dceecae08f44d8a64 (patch)
tree1133fba9084340205036111451e406218e3d5cc4
parent8326f8037530cf0046773a18e872aaf4aa1209d8 (diff)
Fix missing space in "not found in revision" error message
-rw-r--r--src/Repo.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Repo.hs b/src/Repo.hs
index ce5d9ef..700c61b 100644
--- a/src/Repo.hs
+++ b/src/Repo.hs
@@ -288,7 +288,7 @@ getSubtree mbCommit path tree = liftIO $ do
, treeSubdir = treeSubdir tree </> path
}
_ -> do
- fail $ "subtree `" <> path <> "' not found" <> maybe "" (("in revision `" <>) . (<> "'") . showCommitId . commitId) mbCommit
+ fail $ "subtree ‘" <> path <> "’ not found" <> maybe "" ((" in revision ‘" <>) . (<> "’") . showCommitId . commitId) mbCommit
checkoutAt :: (MonadIO m, MonadFail m) => Tree -> FilePath -> m ()