From c515c69d484f37be7d407dbcdaae10f6810b266b Mon Sep 17 00:00:00 2001 From: Matthew Leeds Date: Mon, 3 Dec 2018 15:27:39 -0800 Subject: [PATCH] lib/repo: Clarify docs for importing w/ trust The way _ostree_repo_import_object() is written, a hardlink copy is only attempted if the source repo is trusted, so update the docs for ostree_repo_import_object_from_with_trust() to reflect that. Closes: #1777 Approved by: cgwalters --- src/libostree/ostree-repo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index f5231db989..fc88448122 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -4214,9 +4214,9 @@ ostree_repo_import_object_from (OstreeRepo *self, * @error: Error * * Copy object named by @objtype and @checksum into @self from the - * source repository @source. If both repositories are of the same - * type and on the same filesystem, this will simply be a fast Unix - * hard link operation. + * source repository @source. If @trusted is %TRUE and both + * repositories are of the same type and on the same filesystem, + * this will simply be a fast Unix hard link operation. * * Otherwise, a copy will be performed. */