repo: remove outdated note from write_config() docs
authorWill Thompson <will@willthompson.co.uk>
Fri, 17 Aug 2018 13:40:01 +0000 (14:40 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sun, 19 Aug 2018 02:01:12 +0000 (02:01 +0000)
Since 9dc6ddce0848cf04b76fc1c673c8fc1a0f6f425a it has not been true that
'new_config' was simply ref'd: it's serialized, and then re-parsed into
a new GKeyFile.

Closes: #1707
Approved by: jlebon

src/libostree/ostree-repo.c

index 4bea0f10a573b2aab9b4d6e412b79efc5805a82c..18736c2403bf29e74a0b4706b262fc50ef9976c7 100644 (file)
@@ -1441,12 +1441,10 @@ ostree_repo_copy_config (OstreeRepo *self)
 /**
  * ostree_repo_write_config:
  * @self: Repo
- * @new_config: Overwrite the config file with this data.  Do not change later!
+ * @new_config: Overwrite the config file with this data
  * @error: a #GError
  *
- * Save @new_config in place of this repository's config file.  Note
- * that @new_config should not be modified after - this function
- * simply adds a reference.
+ * Save @new_config in place of this repository's config file.
  */
 gboolean
 ostree_repo_write_config (OstreeRepo *self,