1
0
mirror of https://github.com/git/git.git synced 2024-11-08 14:09:26 +01:00
git/refs
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
..
debug.c Merge branch 'ps/refs-without-the-repository-updates' 2024-05-30 14:15:13 -07:00
files-backend.c Merge branch 'ps/use-the-repository' 2024-07-02 09:59:00 -07:00
iterator.c refs: convert iteration over replace refs to accept ref store 2024-05-17 10:33:38 -07:00
packed-backend.c global: introduce USE_THE_REPOSITORY_VARIABLE macro 2024-06-14 10:26:33 -07:00
packed-backend.h refs: adjust names for init and init_db callbacks 2024-05-17 10:33:36 -07:00
ref-cache.c refs/files: fix NULL pointer deref when releasing ref store 2024-06-06 09:04:32 -07:00
ref-cache.h hash-ll: merge with "hash.h" 2024-06-14 10:26:33 -07:00
refs-internal.h Merge branch 'kn/update-ref-symref' 2024-06-20 15:45:12 -07:00
reftable-backend.c Merge branch 'ps/use-the-repository' 2024-07-02 09:59:00 -07:00