summaryrefslogtreecommitdiff
path: root/oidmap.h
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <derrickstolee@github.com>2022-03-22 17:28:39 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-23 13:14:09 -0700
commit8ba221e2453658f8843176cc00fc5cfe36e07b41 (patch)
treefb0b617fe1730daa3b6ebe2b593e414a5480976f /oidmap.h
parentbundle: move capabilities to end of 'verify' (diff)
downloadtgif-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 'oidmap.h')
0 files changed, 0 insertions, 0 deletions