summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-03-30 21:35:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-03-30 21:35:37 (GMT)
commit4730c5e273e7340342d1c091b6c7ffcacbbd0067 (patch)
tree45e5da0e443631326b4eace64fea4b66dec50023 /builtin
parent1ba947cf15c66d96ee5793d3b94c9eb80361aa66 (diff)
parentbf12013f1ae3e38b7456e1524eb484baee03fbb2 (diff)
downloadgit-4730c5e273e7340342d1c091b6c7ffcacbbd0067.zip
git-4730c5e273e7340342d1c091b6c7ffcacbbd0067.tar.gz
git-4730c5e273e7340342d1c091b6c7ffcacbbd0067.tar.bz2
Merge branch 'hx/pack-objects-chunk-comment'
Comment update. * hx/pack-objects-chunk-comment: pack-objects: fix comment of reused_chunk.difference
Diffstat (limited to 'builtin')
-rw-r--r--builtin/pack-objects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c
index 8319831..525c2d8 100644
--- a/builtin/pack-objects.c
+++ b/builtin/pack-objects.c
@@ -815,8 +815,8 @@ static struct reused_chunk {
/* The offset of the first object of this chunk in the original
* packfile. */
off_t original;
- /* The offset of the first object of this chunk in the generated
- * packfile minus "original". */
+ /* The difference for "original" minus the offset of the first object of
+ * this chunk in the generated packfile. */
off_t difference;
} *reused_chunks;
static int reused_chunks_nr;