diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-12-01 15:23:19 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-12-01 15:23:19 +0100 |
commit | ba36c00cc12ea868b14ad29a98a5c6cd0b18e2dc (patch) | |
tree | 060890529e4c9001e65d9e358d38eeb3d4d8485b /src/other_tools/root_maps/commit_git_map.cpp | |
parent | 9825c6d1035e4bed4d237d6c90308ded9e54e193 (diff) | |
download | justbuild-ba36c00cc12ea868b14ad29a98a5c6cd0b18e2dc.tar.gz |
commit_git_map: Formatting fix
Diffstat (limited to 'src/other_tools/root_maps/commit_git_map.cpp')
-rw-r--r-- | src/other_tools/root_maps/commit_git_map.cpp | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/other_tools/root_maps/commit_git_map.cpp b/src/other_tools/root_maps/commit_git_map.cpp index 84267bcd..415d6dc6 100644 --- a/src/other_tools/root_maps/commit_git_map.cpp +++ b/src/other_tools/root_maps/commit_git_map.cpp @@ -360,8 +360,7 @@ void EnsureCommit(GitRepoInfo const& repo_info, auto wrapped_logger = std::make_shared<AsyncMapConsumerLogger>( [mirror, &err_messages](auto const& msg, bool /*fatal*/) { err_messages += fmt::format( - "\nWhile attempting fetch from local mirror " - "{}:\n{}", + "\nWhile attempting fetch from local mirror {}:\n{}", mirror, msg); }); @@ -390,8 +389,7 @@ void EnsureCommit(GitRepoInfo const& repo_info, [preferred_url, &err_messages](auto const& msg, bool /*fatal*/) { err_messages += fmt::format( - "\nWhile attempting fetch from " - "remote " + "\nWhile attempting fetch from remote " "{}:\n{}", *preferred_url, msg); @@ -414,8 +412,7 @@ void EnsureCommit(GitRepoInfo const& repo_info, [fetch_repo, &err_messages](auto const& msg, bool /*fatal*/) { err_messages += fmt::format( - "\nWhile attempting fetch from remote " - "{}:\n{}", + "\nWhile attempting fetch from remote {}:\n{}", fetch_repo, msg); }); @@ -431,8 +428,7 @@ void EnsureCommit(GitRepoInfo const& repo_info, mirror = std::filesystem::absolute(mirror).string(); } else { - // if non-path, try each of the preferred - // hostnames + // if non-path, try each of the preferred hostnames for (auto const& hostname : preferred_hostnames) { if (auto preferred_mirror = CurlURLHandle::ReplaceHostname( @@ -442,8 +438,7 @@ void EnsureCommit(GitRepoInfo const& repo_info, [preferred_mirror, &err_messages]( auto const& msg, bool /*fatal*/) { err_messages += fmt::format( - "\nWhile attempting fetch " - "from " + "\nWhile attempting fetch from " "mirror {}:\n{}", *preferred_mirror, msg); @@ -469,8 +464,7 @@ void EnsureCommit(GitRepoInfo const& repo_info, [mirror, &err_messages](auto const& msg, bool /*fatal*/) { err_messages += fmt::format( - "\nWhile attempting fetch from " - "mirror " + "\nWhile attempting fetch from mirror " "{}:\n{}", mirror, msg); |