git/t/unit-tests
Junio C Hamano 7b472da915 Merge branch 'ps/use-the-repository'
A CPP macro USE_THE_REPOSITORY_VARIABLE is introduced to help
transition the codebase to rely less on the availability of the
singleton the_repository instance.

* ps/use-the-repository:
  hex: guard declarations with `USE_THE_REPOSITORY_VARIABLE`
  t/helper: remove dependency on `the_repository` in "proc-receive"
  t/helper: fix segfault in "oid-array" command without repository
  t/helper: use correct object hash in partial-clone helper
  compat/fsmonitor: fix socket path in networked SHA256 repos
  replace-object: use hash algorithm from passed-in repository
  protocol-caps: use hash algorithm from passed-in repository
  oidset: pass hash algorithm when parsing file
  http-fetch: don't crash when parsing packfile without a repo
  hash-ll: merge with "hash.h"
  refs: avoid include cycle with "repository.h"
  global: introduce `USE_THE_REPOSITORY_VARIABLE` macro
  hash: require hash algorithm in `empty_tree_oid_hex()`
  hash: require hash algorithm in `is_empty_{blob,tree}_oid()`
  hash: make `is_null_oid()` independent of `the_repository`
  hash: convert `oidcmp()` and `oideq()` to compare whole hash
  global: ensure that object IDs are always padded
  hash: require hash algorithm in `oidread()` and `oidclr()`
  hash: require hash algorithm in `hasheq()`, `hashcmp()` and `hashclr()`
  hash: drop (mostly) unused `is_empty_{blob,tree}_sha1()` functions
2024-07-02 09:59:00 -07:00
..
.gitignore
lib-oid.c t/: migrate helper/test-oidtree.c to unit-tests/t-oidtree.c 2024-06-12 13:33:20 -07:00
lib-oid.h hash-ll: merge with "hash.h" 2024-06-14 10:26:33 -07:00
t-ctype.c t-ctype: avoid duplicating class names 2024-03-03 09:47:33 -08:00
t-example-decorate.c global: introduce USE_THE_REPOSITORY_VARIABLE macro 2024-06-14 10:26:33 -07:00
t-hash.c t/: migrate helper/test-{sha1, sha256} to unit-tests/t-hash 2024-05-29 09:11:41 -07:00
t-mem-pool.c mem-pool: fix big allocations 2023-12-28 12:22:43 -08:00
t-oidtree.c t/: migrate helper/test-oidtree.c to unit-tests/t-oidtree.c 2024-06-12 13:33:20 -07:00
t-prio-queue.c t-prio-queue: simplify using compound literals 2024-04-02 13:41:32 -07:00
t-reftable-basics.c Merge branch 'ps/no-writable-strings' 2024-06-17 15:55:58 -07:00
t-strbuf.c global: improve const correctness when assigning string constants 2024-06-07 10:30:48 -07:00
t-strcmp-offset.c t/: port helper/test-strcmp-offset.c to unit-tests/t-strcmp-offset.c 2024-05-20 13:39:49 -07:00
t-strvec.c t-strvec: mark variable-arg helper with LAST_ARG_MUST_BE_NULL 2024-05-30 08:55:29 -07:00
t-trailer.c trailer unit tests: inspect iterator contents 2024-05-02 09:57:08 -07:00
test-lib.c strvec: add functions to replace and remove strings 2024-05-27 11:20:02 -07:00
test-lib.h strvec: add functions to replace and remove strings 2024-05-27 11:20:02 -07:00