bin/refs: Add option to print revisions
authorDan Nicholson <dbn@endlessos.org>
Sun, 29 Jan 2023 16:23:13 +0000 (09:23 -0700)
committerDan Nicholson <dbn@endlessos.org>
Wed, 8 Feb 2023 05:59:30 +0000 (22:59 -0700)
commit90dd45fb27594be7fec346987506d08f22a2a37a
treee44525b5cff067f81614a047d9aff364c78c9fc5
parent6b0f42ae376ff7e953241fc98d6f3735225f0d3e
bin/refs: Add option to print revisions

Allow printing the revision along with the ref. This is very convenient
for looping over the refs in a shell as well as for quickly seeing which
refs are pointed to the same commit.
bash/ostree
man/ostree-refs.xml
src/ostree/ot-builtin-refs.c
tests/test-refs.sh