Since Git 2.29 (October 2020), repositories can use SHA-256 instead of
SHA-1 as their object format (git init --object-format=sha256).  Diffs
generated in such repositories use SHA-256 hashes in their index lines,
abbreviated to 7 hex digits by default, same as SHA-1.  SHA-256 is
planned to become the default object format in Git 3.0.

Gabi Falk (2):
  Rename sha1 identifiers in preparation for SHA-256 support
  Add support of diffs with SHA256 git object format

 src/pch.c                | 34 ++++++++--------
 tests/Makefile.am        |  1 +
 tests/empty-files-sha256 | 86 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 105 insertions(+), 16 deletions(-)
 create mode 100644 tests/empty-files-sha256

-- 
gabi


Reply via email to