pull-local: Write detached metadata into the correct repository

We want to write to the dest repo, not src.

Noticed while reviewing this code for some other bug.

https://bugzilla.gnome.org/show_bug.cgi?id=733579
This commit is contained in:
Colin Walters committed 2014-07-22 15:43:33 -04:00
1 parent cdaa9517af
commit 9bd229dff5
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ import_one_object (OtLocalCloneData *data,
if (detached_meta)
{
if (!ostree_repo_write_commit_detached_metadata (data->src_repo,
if (!ostree_repo_write_commit_detached_metadata (data->dest_repo,
checksum, detached_meta,
cancellable, error))
goto out;