]> git.99rst.org Git - git.git/commit
Merge branch 'jk/git-hash-cleanups'
authorJunio C Hamano <redacted>
Fri, 17 Jul 2026 06:05:48 +0000 (23:05 -0700)
committerJunio C Hamano <redacted>
Fri, 17 Jul 2026 06:05:48 +0000 (23:05 -0700)
commite7e0872c6a0899903bf5f530835999dbf629e5b8
treee54b6aff5459613c5b1cd16043f4b28ea85c3805
parent09af39fda00a7ad5e9b8045a3cca1fff9f404998
parent9e396aa553028e708c6fc842d72d6305b761bb5d
Merge branch 'jk/git-hash-cleanups'

The 'git_hash_*()' wrappers have been updated to be used consistently
across the codebase instead of direct calls to members of 'struct
git_hash_algo', and 'git_hash_discard()' has been made idempotent to
simplify cleanups.

* jk/git-hash-cleanups:
  hash: check ctx->active flag in all wrapper functions
  http: use idempotent git_hash_discard()
  csum-file: use idempotent git_hash_discard()
  hash: make git_hash_discard() idempotent
  hash: document function pointers and wrappers
  hash: convert remaining direct function calls
  hash: use git_hash_init() consistently
builtin/index-pack.c
object-file.c
read-cache.c
git clone https://git.99rst.org/PROJECT