git/t/helper
Junio C Hamano f9b0ba8974 Merge branch 'js/pack-objects-delta-size-t' into seen
The 'pack-objects' and delta-encoding code paths have been updated to
use 'size_t' instead of 'unsigned long' for object sizes and offset
limits, avoiding potential truncation issues on 64-bit Windows.

* js/pack-objects-delta-size-t:
  git-zlib: widen `git_deflate_bound()` to `size_t`
  t/helper/test-pack-deltas: widen `do_compress()`'s maxsize local to `size_t`
  http-push: widen `start_put()`'s size local from `ssize_t` to `size_t`
  diff: widen `deflate_it()`'s bound local from int to `size_t`
  archive-zip: widen `zlib_deflate_raw()`'s maxsize local to `size_t`
  packfile, git-zlib: widen `use_pack()` and zstream avail fields to `size_t`
  delta: widen `create_delta()` and `diff_delta()` to `size_t`
  pack-objects: widen `mem_usage` and `try_delta()`'s out-param to `size_t`
  pack-objects: widen `free_unpacked()` return to `size_t`
  pack-objects: widen delta-cache accounting to `size_t`
  delta: widen `create_delta_index()` parameter to `size_t`
  diff-delta: widen `struct delta_index`' size fields to `size_t`
2026-07-25 14:33:20 -07:00
..
.gitignore
meson.build test-tool: add a helper to synthesize large packfiles 2026-05-09 11:25:32 +09:00
test-advise.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-bitmap.c packfile: thread odb_source_packed through packed_object_info() 2026-07-02 09:52:32 -07:00
test-bloom.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-bundle-uri.c
test-cache-tree.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-chmtime.c
test-config.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-crontab.c
test-csprng.c
test-date.c global: mark usage strings and string tables const 2025-04-21 21:01:19 -07:00
test-delete-gpgsig.c test-tool: fix leak in delete-gpgsig command 2025-10-29 12:36:10 -07:00
test-delta.c delta: widen `create_delta()` and `diff_delta()` to `size_t` 2026-07-09 14:55:23 -07:00
test-dir-iterator.c
test-drop-caches.c
test-dump-cache-tree.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-dump-fsmonitor.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-dump-split-index.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-dump-untracked-cache.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-env-helper.c
test-example-tap.c test-lib: print escape sequence names 2026-03-11 11:38:54 -07:00
test-fake-ssh.c
test-find-pack.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-fsmonitor-client.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-genrandom.c t/helper: improve "genrandom" test helper 2026-02-23 13:19:00 -08:00
test-genzeros.c
test-getcwd.c global: mark usage strings and string tables const 2025-04-21 21:01:19 -07:00
test-hash-speed.c hash: use git_hash_init() consistently 2026-07-07 21:56:00 -07:00
test-hash.c hash: use git_hash_init() consistently 2026-07-07 21:56:00 -07:00
test-hashmap.c Merge branch 'jc/string-list-split' 2025-08-21 13:46:59 -07:00
test-hexdump.c
test-json-writer.c string-list: split-then-remove-empty can be done while splitting 2025-08-02 22:34:45 -07:00
test-lazy-init-name-hash.c config: use repo_ignore_case() to access core.ignorecase 2026-06-19 10:04:56 -07:00
test-match-trees.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-mergesort.c
test-mktemp.c test-mktemp: plug memory and descriptor leaks 2025-11-18 10:05:14 -08:00
test-name-hash.c
test-online-cpus.c
test-pack-deltas.c t/helper/test-pack-deltas: widen `do_compress()`'s maxsize local to `size_t` 2026-07-09 14:55:24 -07:00
test-pack-mtimes.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-parse-options.c parse-options: add precision handling for OPTION_COUNTUP 2025-07-09 08:40:32 -07:00
test-parse-pathspec-file.c
test-partial-clone.c odb: use size_t for object_info.sizep and the size APIs 2026-06-15 07:45:41 -07:00
test-path-utils.c environment: move 'protect_hfs' and 'protect_ntfs' into 'repo_config_values' 2026-06-12 05:45:09 -07:00
test-path-walk.c Merge branch 'ds/path-walk-filters' 2026-06-02 16:15:29 +09:00
test-pcre2-config.c
test-pkt-line.c
test-proc-receive.c global: mark usage strings and string tables const 2025-04-21 21:01:19 -07:00
test-progress.c
test-reach.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-read-cache.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-read-graph.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-read-midx.c midx: refactor interfaces to work on "packed" source 2026-06-17 05:00:01 -07:00
test-ref-store.c worktree: pass repository to public functions 2026-07-16 07:40:22 -07:00
test-reftable.c reftable: split up write options 2026-06-26 08:27:19 -07:00
test-regex.c
test-repository.c t/helper: stop setting up `the_repository` repeatedly 2025-11-25 12:16:00 -08:00
test-revision-walking.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-rot13-filter.c global: mark usage strings and string tables const 2025-04-21 21:01:19 -07:00
test-run-command.c run-command: add stdin callback for parallelization 2026-01-28 15:47:02 -08:00
test-scrap-cache-tree.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-serve-v2.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-sha1.c
test-sha1.sh
test-sha256.c
test-sigchain.c
test-simple-ipc.c strbuf: split out logic to humanise byte values 2025-12-18 09:02:31 +09:00
test-string-list.c u-string-list: move "remove duplicates" test to "u-string-list.c" 2025-07-07 08:07:47 -07:00
test-submodule-config.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-submodule-nested-repo-config.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-submodule.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-subprocess.c setup: stop using `the_repository` in `setup_git_directory_gently()` 2026-05-19 19:36:24 +09:00
test-synthesize.c hash: convert remaining direct function calls 2026-07-07 21:56:00 -07:00
test-tool-utils.h
test-tool.c test-tool: add a helper to synthesize large packfiles 2026-05-09 11:25:32 +09:00
test-tool.h test-tool: add a helper to synthesize large packfiles 2026-05-09 11:25:32 +09:00
test-trace2.c test-tool: extend trace2 helper with 400ancestry 2026-02-13 12:18:32 -08:00
test-truncate.c t/helper/test-truncate: close file descriptor after truncation 2025-07-22 14:05:34 -07:00
test-userdiff.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-wildmatch.c
test-windows-named-pipe.c global: mark usage strings and string tables const 2025-04-21 21:01:19 -07:00
test-write-cache.c setup: stop using `the_repository` in `setup_git_directory()` 2026-05-19 19:36:25 +09:00
test-xml-encode.c
test-zlib.c t/helper: add zlib test-tool 2025-05-16 09:43:11 -07:00