aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-05-06 10:28:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-05-06 10:28:06 +0200
commit25628489a936de1149f03425bb8653f6cfb09639 (patch)
treeebb92c0c366386bf7183d446b7c0bc07f1534a87
parent1f2460395e1e052e823332f8eed38315556100c0 (diff)
Don't use posix_string() where path can be absolute
-rw-r--r--bpkg/fetch-git.cxx4
1 files 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.