mirror of
https://github.com/git/git.git
synced 2024-11-23 09:56:28 +08:00
7b472da915
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 |
||
---|---|---|
.. | ||
basics.c | ||
basics.h | ||
block_test.c | ||
block.c | ||
block.h | ||
blocksource.c | ||
blocksource.h | ||
constants.h | ||
dump.c | ||
error.c | ||
generic.c | ||
generic.h | ||
iter.c | ||
iter.h | ||
LICENSE | ||
merged_test.c | ||
merged.c | ||
merged.h | ||
pq_test.c | ||
pq.c | ||
pq.h | ||
publicbasics.c | ||
reader.c | ||
reader.h | ||
readwrite_test.c | ||
record_test.c | ||
record.c | ||
record.h | ||
reftable-blocksource.h | ||
reftable-error.h | ||
reftable-generic.h | ||
reftable-iterator.h | ||
reftable-malloc.h | ||
reftable-merged.h | ||
reftable-reader.h | ||
reftable-record.h | ||
reftable-stack.h | ||
reftable-tests.h | ||
reftable-writer.h | ||
stack_test.c | ||
stack.c | ||
stack.h | ||
system.h | ||
test_framework.c | ||
test_framework.h | ||
tree_test.c | ||
tree.c | ||
tree.h | ||
writer.c | ||
writer.h |