From 1290ab97080fbb196f5a4ff1b93dd703e83efe2e Mon Sep 17 00:00:00 2001 From: trapexit Date: Thu, 15 Jan 2026 15:33:31 -0800 Subject: [PATCH] Ensure ::exists() call can't throw (#1609) --- src/branches.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/branches.cpp b/src/branches.cpp index d4d60bb6..ec634b90 100644 --- a/src/branches.cpp +++ b/src/branches.cpp @@ -203,7 +203,7 @@ namespace l { std::error_code ec; - if(!std::filesystem::exists(path)) + if(!std::filesystem::exists(path,ec)) { SysLog::notice("branch `{}` does not currently exist",path); }