]> git.ipfire.org Git - thirdparty/git.git/commit - match-trees.c
Always use oidread to read into struct object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 26 Apr 2021 01:02:50 +0000 (01:02 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Apr 2021 07:31:38 +0000 (16:31 +0900)
commit92e2cab96b8b8ea9a076dc279864226b3d0863e9
treee0bf6b151c7624d1a751eedcf0247a47c3284709
parentcf0983213c72727c4c7dea51ed9b3b38a2968fbe
Always use oidread to read into struct object_id

In the future, we'll want oidread to automatically set the hash
algorithm member for an object ID we read into it, so ensure we use
oidread instead of hashcpy everywhere we're copying a hash value into a
struct object_id.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 files changed:
archive.c
builtin/fast-import.c
builtin/index-pack.c
builtin/unpack-objects.c
commit-graph.c
dir.c
http-walker.c
match-trees.c
midx.c
notes.c
read-cache.c
split-index.c
tree-walk.c