On May 16, 2016 8:28 AM, "Colin Walters" <walters verbum org> wrote:
>
> OSTree doesn't have tags right now - we really should. But
> in the meantime, I hacked together this:
>
> https://github.com/cgwalters/ostree-scripts/blob/master/ostree-write-ref
>
> Which is obviously a very simple script, but does things like
> ensure the ref is only written once if you specify --create, kind
> of like O_EXCL, and similar to what `git tag` does by default.
Can we bring back to write-refs built-in? Alternatively, would you accept a patch to add a --create tag for the refs built-in? I've had to workaround this many times and I'd really like have a simple way to handle it.
Dan