ostree/src
Dan Nicholson d916383953 bin/refs: Allow overwriting existing ref
Currently if you want to update a non-alias ref, you need to first check
if it exists and use either `ostree refs --create` or `ostree reset` as
appropriate. That's unnecessarily complicated and is much less
convenient than the old `write-refs` builtin that simply called
`ostree_repo_set_ref_immediate()` without any checks.

Add a `--force` option to be used with `--create` that does not raise an
error when the destination ref already exists.

Closes: #1870
Approved by: jlebon
2019-06-12 15:00:19 +00:00
..
boot boot: Activate ostree-finalize-staged even earlier 2019-04-15 00:11:00 +00:00
libostree ostree-repo-finder: Clarify immutability after construction 2019-05-29 03:36:06 +00:00
libotutil lib/util: Fix segfault when validating filename 2019-06-06 16:05:19 +00:00
ostree bin/refs: Allow overwriting existing ref 2019-06-12 15:00:19 +00:00
rofiles-fuse rofiles-fuse: Improve error message for failure to open root 2018-10-12 14:11:10 +00:00
switchroot prepare-root: remove ignored MS_MGC_VAL flag 2019-05-05 20:53:17 +00:00