diff options
| author | Taylor Blau <me@ttaylorr.com> | 2021-03-30 11:04:17 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-04-01 13:07:37 -0700 |
| commit | 9f19161172412086f50b660a07731d636458cdc8 (patch) | |
| tree | f39b2f046b4a56d4bd5dff751b814fb6f78bde97 /builtin/commit.c | |
| parent | 7240cc4b65b6684c403487889cce396e45ad30cd (diff) | |
| download | git-9f19161172412086f50b660a07731d636458cdc8.tar.gz | |
midx: keep track of the checksum
write_midx_internal() uses a hashfile to write the multi-pack index, but
discards its checksum. This makes sense, since nothing that takes place
after writing the MIDX cares about its checksum.
That is about to change in a subsequent patch, when the optional
reverse index corresponding to the MIDX will want to include the MIDX's
checksum.
Store the checksum of the MIDX in preparation for that.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
