]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/hash-object-fsck'
authorJunio C Hamano <gitster@pobox.com>
Mon, 30 Jan 2023 22:24:22 +0000 (14:24 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Jan 2023 22:24:22 +0000 (14:24 -0800)
"git hash-object" now checks that the resulting object is well
formed with the same code as "git fsck".

* jk/hash-object-fsck:
  fsck: do not assume NUL-termination of buffers
  hash-object: use fsck for object checks
  fsck: provide a function to fsck buffer without object struct
  t: use hash-object --literally when created malformed objects
  t7030: stop using invalid tag name
  t1006: stop using 0-padded timestamps
  t1007: modernize malformed object tests

1  2 
object-file.c
t/t6300-for-each-ref.sh

diff --cc object-file.c
Simple merge
Simple merge