From e1c1eccba390d07d83aec6002448ed7bcce50399 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 12 Jan 2023 17:48:15 +0100 Subject: fpath_git_map: Fix wrong log message --- src/other_tools/root_maps/fpath_git_map.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/other_tools/root_maps/fpath_git_map.cpp') diff --git a/src/other_tools/root_maps/fpath_git_map.cpp b/src/other_tools/root_maps/fpath_git_map.cpp index e50afeb4..17605ddc 100644 --- a/src/other_tools/root_maps/fpath_git_map.cpp +++ b/src/other_tools/root_maps/fpath_git_map.cpp @@ -110,12 +110,11 @@ auto CreateFilePathGitMap( }, [logger, target_path = *repo_root](auto const& msg, bool fatal) { - (*logger)( - fmt::format("While running critical Git op " - "GET_BRANCH_REFNAME for target {}:\n{}", - target_path.string(), - msg), - fatal); + (*logger)(fmt::format("While running critical Git op " + "GET_HEAD_ID for target {}:\n{}", + target_path.string(), + msg), + fatal); }); } else { -- cgit v1.2.3