diff options
author | Derrick Stolee <derrickstolee@github.com> | 2022-03-22 17:28:39 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-23 13:14:09 -0700 |
commit | 8ba221e2453658f8843176cc00fc5cfe36e07b41 (patch) | |
tree | fb0b617fe1730daa3b6ebe2b593e414a5480976f /reftable/blocksource.h | |
parent | bundle: move capabilities to end of 'verify' (diff) | |
download | tgif-8ba221e2453658f8843176cc00fc5cfe36e07b41.tar.xz |
bundle: output hash information in 'verify'
The previous change moved the 'filter' capability to the end of the 'git
bundle verify' output. Now, add the 'object-format' capability to the
output, when it exists.
This change makes 'git bundle verify' output the hash used in all cases,
even if the capability is not in the bundle. This means that v2 bundles
will always output that they use "sha1". This might look noisy to some
users, but it does simplify the implementation and the test strategy for
this feature.
Since 'verify' ends early when a prerequisite commit is missing, we need
to insert this hash message carefully into our expected test output
throughout t6020.
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reftable/blocksource.h')
0 files changed, 0 insertions, 0 deletions