summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2025-10-15 18:27:58 -0400
committerJunio C Hamano <gitster@pobox.com>2025-10-16 10:08:54 -0700
commite35ef71e003cb0731d9f33605f598e1b99746441 (patch)
tree5776a549752c29be021a379db258d4ec3fd9f764 /contrib/persistent-https
parent19f6e8d023057113fe8c5890349593e70541bec2 (diff)
downloadgit-e35ef71e003cb0731d9f33605f598e1b99746441.tar.gz
git-e35ef71e003cb0731d9f33605f598e1b99746441.zip
repack: move 'delta_base_offset' to 'struct pack_objects_args'
The static variable 'delta_base_offset' determines whether or not we pass the "--delta-base-offset" command-line argument when spawning pack-objects as a child process. Its introduction dates back to when repack was rewritten in C, all the way back in a1bbc6c017 (repack: rewrite the shell script in C, 2013-09-15). 'struct pack_objects_args' was introduced much later on in 4571324b99 (builtin/repack.c: allow configuring cruft pack generation, 2022-05-20), but did not move the 'delta_base_offset' variable. Since the 'delta_base_offset' is a property of an individual pack-objects command, re-introduce that variable as a member of 'struct pack_objects_args', which will enable further code movement in the subsequent commits. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions