diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2025-10-09 21:56:23 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-09 17:46:14 -0700 |
| commit | b95c59e21e6afeddc56400e162e818a9312f04d2 (patch) | |
| tree | 040fea1673e4ad558b59c87b3a21bbecbc4dc94a /t/unit-tests/u-reftable-basics.c | |
| parent | d4f439548d46dd93087af8d9ff2e9f7e4d5e98bb (diff) | |
rev-parse: allow printing compatibility hash
Right now, we have a way to print the storage hash, the input hash, and
the output hash, but we lack a way to print the compatibility hash. Add
a new type to --show-object-format, compat, which prints this value.
If no compatibility hash exists, simply print a newline. This is
important to allow users to use multiple options at once while still
getting unambiguous output.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/u-reftable-basics.c')
0 files changed, 0 insertions, 0 deletions
