bin/fsck: Make ref binding verification optional
authorColin Walters <walters@verbum.org>
Thu, 14 Dec 2017 17:36:48 +0000 (12:36 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 14 Dec 2017 18:41:00 +0000 (18:41 +0000)
commitd340fe406079c4b3c2b62af2a1c10cd9afd44b09
treefe6998ad1c761cff95fed1ea5e796e9ff3638e85
parent7935b881bfa1d57c9cad4ae0522fab90bcf46ab5
bin/fsck: Make ref binding verification optional

Today the rpm-ostree test suite uses `refs --create` to save
commits.  I think this is a legitimate use case, and other
people may be doing something similar.

On the other hand, I think we should probably be changing the rpm-ostree test
suite to create "unbound" commits. But let's be maximially compatible here since
we hit a real-world case where something needed to change.

Closes: #1379
Approved by: pwithnall
bash/ostree
man/ostree-fsck.xml
src/ostree/ot-builtin-fsck.c
tests/test-fsck-collections.sh