ostree/commit: Allow --orphan and --bind-ref to be specified together
authorPhilip Withnall <withnall@endlessm.com>
Mon, 20 Nov 2017 14:48:04 +0000 (14:48 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 14 Dec 2017 14:18:44 +0000 (14:18 +0000)
commit5d1753f59bace948f0763e5de533c22e6ed5304b
tree4f6fc73be96a8bbd9a0d0b90bc1b8c188ab5b184
parentfb7692bd448ef0a395485a79a050193e50e417ac
ostree/commit: Allow --orphan and --bind-ref to be specified together

Typically you’d use --branch and --bind-ref together to add additional
bindings as well as creating a main --branch for the commit. However,
you might also want to occasionally use --orphan --bind-ref to create a
commit with bindings for one or more refs, but not actually create any
of those refs pointing to the commit (you might create them as a later
step).

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1347
Approved by: cgwalters
src/ostree/ot-builtin-commit.c