diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-01-13 05:21:09 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-13 05:21:09 -0800 |
| commit | cc06d7e7ffa08c1907a7e5cf2a095f4a890962a4 (patch) | |
| tree | 5128c927a5fb042b5b36b91ae7beaf3e056e2c2c /pack-revindex.h | |
| parent | 9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed (diff) | |
| parent | 6ce9d558ced275a707393d044e5b0035412f8360 (diff) | |
| download | git-cc06d7e7ffa08c1907a7e5cf2a095f4a890962a4.tar.xz | |
Merge branch 'ps/repack-avoid-noop-midx-rewrite' into tb/midx-write-corrupt-checksum-fix
* ps/repack-avoid-noop-midx-rewrite:
midx-write: skip rewriting MIDX with `--stdin-packs` unless needed
midx-write: extract function to test whether MIDX needs updating
midx: fix `BUG()` when getting preferred pack without a reverse index
Diffstat (limited to 'pack-revindex.h')
| -rw-r--r-- | pack-revindex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pack-revindex.h b/pack-revindex.h index 422c2487ae..0042892091 100644 --- a/pack-revindex.h +++ b/pack-revindex.h @@ -72,7 +72,8 @@ int verify_pack_revindex(struct packed_git *p); * multi-pack index by mmap-ing it and assigning pointers in the * multi_pack_index to point at it. * - * A negative number is returned on error. + * A negative number is returned on error. A positive number is returned in + * case the multi-pack-index does not have a reverse index. */ int load_midx_revindex(struct multi_pack_index *m); |
