diff options
| author | Han Xin <hanxin.hx@alibaba-inc.com> | 2021-03-23 11:20:50 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-03-24 13:03:22 -0700 |
| commit | bf12013f1ae3e38b7456e1524eb484baee03fbb2 (patch) | |
| tree | b735805d855de866bf31b71562ec80e7ed163ec9 /builtin/commit.c | |
| parent | The second batch (diff) | |
| download | git-bf12013f1ae3e38b7456e1524eb484baee03fbb2.tar.gz git-bf12013f1ae3e38b7456e1524eb484baee03fbb2.zip | |
pack-objects: fix comment of reused_chunk.difference
As record_reused_object(offset, offset - hashfile_total(out)) said,
reused_chunk.difference should be the offset of original packfile minus
the offset of the generated packfile. But the comment presented an opposite way.
Signed-off-by: Han Xin <hanxin.hx@alibaba-inc.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
