]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'bc/sha1-256-interop-02'
authorJunio C Hamano <gitster@pobox.com>
Thu, 12 Mar 2026 17:56:02 +0000 (10:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Mar 2026 17:56:02 +0000 (10:56 -0700)
commit8194f1795bf0ca36f245adccc84bc86ab2aa90d1
treec8d1bc1cc14dd618832cd9d2a5a932c33b27fd22
parent7f19e4e1b6a3ad259e2ed66033e01e03b8b74c5e
parentd49f23ae2f9def3c9065738bccbb9ca8dfb4b0f0
Merge branch 'bc/sha1-256-interop-02'

The code to maintain mapping between object names in multiple hash
functions is being added, written in Rust.

* bc/sha1-256-interop-02:
  object-file-convert: always make sure object ID algo is valid
  rust: add a small wrapper around the hashfile code
  rust: add a new binary object map format
  rust: add functionality to hash an object
  rust: add a build.rs script for tests
  rust: fix linking binaries with cargo
  hash: expose hash context functions to Rust
  write-or-die: add an fsync component for the object map
  csum-file: define hashwrite's count as a uint32_t
  rust: add additional helpers for ObjectID
  hash: add a function to look up hash algo structs
  rust: add a hash algorithm abstraction
  rust: add a ObjectID struct
  hash: use uint32_t for object_id algorithm
  conversion: don't crash when no destination algo
  repository: require Rust support for interoperability
Makefile
object-file-convert.c
repository.c
repository.h
t/t1006-cat-file.sh
t/test-lib.sh