diff options
author | Colin Walters <walters@verbum.org> | 2014-07-22 15:42:56 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2014-07-22 15:43:33 -0400 |
commit | 9bd229dff58ddb96f08e9307a1a668efc3548db5 (patch) | |
tree | d4096d6807719f5526cb0fd18c67560b1bb1e4bf /src/ostree/ot-builtin-pull-local.c | |
parent | cdaa9517afc5cd85da7c92ffa272417771632a07 (diff) | |
download | ostree-9bd229dff58ddb96f08e9307a1a668efc3548db5.tar.gz |
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
Diffstat (limited to 'src/ostree/ot-builtin-pull-local.c')
-rw-r--r-- | src/ostree/ot-builtin-pull-local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-builtin-pull-local.c b/src/ostree/ot-builtin-pull-local.c index b5b5728f..50b05a6f 100644 --- a/src/ostree/ot-builtin-pull-local.c +++ b/src/ostree/ot-builtin-pull-local.c @@ -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; |