aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-fetch.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-08-01 21:06:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-08-04 13:01:50 +0300
commitd0e478348ab1362e22e426b2b3dbb3becf2d6a24 (patch)
tree8704d4ce6e12ca5103db492cb20dfd08a0853858 /bpkg/pkg-fetch.hxx
parent67d42b48930f65a7e270e153f1ca627c5241d17b (diff)
Fix pkg-fetch which failed to re-fetch same package version in --replace mode
Diffstat (limited to 'bpkg/pkg-fetch.hxx')
-rw-r--r--bpkg/pkg-fetch.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/bpkg/pkg-fetch.hxx b/bpkg/pkg-fetch.hxx
index 5d698d5..8607178 100644
--- a/bpkg/pkg-fetch.hxx
+++ b/bpkg/pkg-fetch.hxx
@@ -37,6 +37,8 @@ namespace bpkg
// Note that both package and repository information configurations need to
// be passed.
//
+ // Also note that it should be called in session.
+ //
shared_ptr<selected_package>
pkg_fetch (const common_options&,
database& pdb,