From 25628489a936de1149f03425bb8653f6cfb09639 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 6 May 2022 10:28:06 +0200 Subject: Don't use posix_string() where path can be absolute --- bpkg/fetch-git.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bpkg/fetch-git.cxx b/bpkg/fetch-git.cxx index ea6dee0..90cde24 100644 --- a/bpkg/fetch-git.cxx +++ b/bpkg/fetch-git.cxx @@ -639,7 +639,7 @@ namespace bpkg ? capabilities::smart : capabilities::dumb); - // If the transport is smart let's see it the server also supports + // If the transport is smart let's see if the server also supports // unadvertised refs fetch. // if (r == capabilities::smart && !is.eof ()) @@ -1580,7 +1580,7 @@ namespace bpkg dr << "from " << url (); if (verb >= 2) - dr << " in '" << dir.posix_string () << "'"; // Is used by tests. + dr << " in '" << dir.string () << "'"; // Used by tests. } // Print information messages prior to the deep fetching. -- cgit v1.1