summaryrefslogtreecommitdiff
path: root/hash.h
AgeCommit message (Expand)AuthorFilesLines
2026-07-07hash: make git_hash_discard() idempotentJeff King1-0/+1
2026-07-07hash: document function pointers and wrappersJeff King1-11/+32
2026-07-02hash: add platform-specific discard functionsJeff King1-0/+21
2026-07-02hash: add discard primitiveJeff King1-0/+1
2026-03-20object-name: simplify computing common prefixesPatrick Steinhardt1-0/+3
2026-02-07hash: expose hash context functions to Rustbrian m. carlson1-20/+7
2026-02-07hash: add a function to look up hash algo structsbrian m. carlson1-0/+1
2026-02-07hash: use uint32_t for object_id algorithmbrian m. carlson1-5/+5
2025-07-21Merge branch 'bc/use-sha256-by-default-in-3.0'Junio C Hamano1-0/+10
2025-07-01Enable SHA-256 by default in breaking changes modebrian m. carlson1-1/+7
2025-07-01hash: add a constant for the legacy hash algorithmbrian m. carlson1-0/+2
2025-07-01hash: add a constant for the default hash algorithmbrian m. carlson1-0/+2
2025-06-12object-name: make get_oid quietly return an errorbrian m. carlson1-0/+1
2025-04-16Merge branch 'jt/help-sha-backend-info-in-build-options'Junio C Hamano1-0/+11
2025-04-15Merge branch 'ps/object-wo-the-repository'Junio C Hamano1-2/+2
2025-04-07help: include unsafe SHA-1 build info in versionJustin Tobler1-0/+3
2025-04-07help: include SHA implementation in version infoJustin Tobler1-0/+8
2025-03-12object-name: allow skipping ambiguity checks in `get_oid()` familyPatrick Steinhardt1-11/+12
2025-03-10hash: stop depending on `the_repository` in `null_oid()`Patrick Steinhardt1-1/+1
2025-03-10hash: fix "-Wsign-compare" warningsPatrick Steinhardt1-1/+1
2025-01-31hash: provide generic wrappers to update hash contextsPatrick Steinhardt1-0/+21
2025-01-31hash: stop typedeffing the hash contextPatrick Steinhardt1-6/+5
2025-01-31hash: convert hashing context to a structurePatrick Steinhardt1-6/+7
2025-01-23hash.h: drop unsafe_ function variantsTaylor Blau1-15/+0
2025-01-23hash.h: introduce `unsafe_hash_algo()`Taylor Blau1-1/+12
2024-10-03hash.h: set NEEDS_CLONE_HELPER_UNSAFE in fallback modeJeff King1-0/+3
2024-09-27Makefile: allow specifying a SHA-1 for non-cryptographic usesTaylor Blau1-0/+30
2024-09-27hash.h: scaffolding for _unsafe hashing variantsTaylor Blau1-0/+42
2024-06-14hash-ll: merge with "hash.h"Patrick Steinhardt1-2/+360
2024-06-14global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt1-1/+3
2024-06-14hash: require hash algorithm in `is_empty_{blob,tree}_oid()`Patrick Steinhardt1-10/+0
2024-06-14hash: make `is_null_oid()` independent of `the_repository`Patrick Steinhardt1-5/+0
2024-06-14hash: convert `oidcmp()` and `oideq()` to compare whole hashPatrick Steinhardt1-20/+0
2024-06-14global: ensure that object IDs are always paddedPatrick Steinhardt1-16/+0
2024-06-14hash: require hash algorithm in `oidread()` and `oidclr()`Patrick Steinhardt1-17/+0
2024-06-14hash: require hash algorithm in `hasheq()`, `hashcmp()` and `hashclr()`Patrick Steinhardt1-22/+2
2024-06-14hash: drop (mostly) unused `is_empty_{blob,tree}_sha1()` functionsPatrick Steinhardt1-10/+0
2023-10-02cache: add a function to read an OID of a specific algorithmbrian m. carlson1-2/+7
2023-04-24hash-ll.h: split out of hash.h to remove dependency on repository.hElijah Newren1-272/+1
2023-02-23hash.h: move some oid-related declarations from cache.hElijah Newren1-0/+34
2023-02-23treewide: remove unnecessary git-compat-util.h includes in headersElijah Newren1-1/+0
2022-08-31Makefile + hash.h: remove PPC_SHA1 implementationÆvar Arnfjörð Bjarmason1-4/+2
2022-07-10sha256: add support for Nettlebrian m. carlson1-1/+3
2021-09-07hash.h: provide constants for the hash IDsHan-Wen Nienhuys1-0/+6
2021-08-15oidtree: avoid unaligned access to crit-bit treeRené Scharfe1-1/+1
2021-07-07oidcpy_with_padding: constify `src' argEric Wong1-1/+1
2021-05-18parallel-checkout: send the new object_id algo field to the workersMatheus Tavares1-0/+16
2021-04-27hash: provide per-algorithm null OIDsbrian m. carlson1-2/+5
2021-04-27hash: set, copy, and use algo field in struct object_idbrian m. carlson1-6/+34
2021-04-27hash: add a function to finalize object IDsbrian m. carlson1-23/+27