lib/repo-commit: Import detached metadata even if hardlink exists
authorPhilip Withnall <withnall@endlessm.com>
Tue, 3 Oct 2017 14:45:34 +0000 (15:45 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 3 Oct 2017 16:31:13 +0000 (16:31 +0000)
commit86e072bdbe48a4f16efb05c00eb79114e5fdbf61
treef79d446302b02fd7f1cd4e834e5079ae5215993e
parent133e9ae7338503d3143d172c92a7cac618e6735c
lib/repo-commit: Import detached metadata even if hardlink exists

Spotted while reading through the code, it looks like the
copy_detached_metadata() call is accidentally omitted if a hardlink
already exists for the .commit object.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1242
Approved by: cgwalters
src/libostree/ostree-repo-commit.c