]> git.ipfire.org Git - thirdparty/git.git/commit - dir.c
dir: convert struct sha1_stat to use object_id
authorPatryk Obara <patryk.obara@gmail.com>
Sun, 28 Jan 2018 00:13:12 +0000 (01:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Jan 2018 18:42:36 +0000 (10:42 -0800)
commit4b33e60201c12f3a68441807444e3726853a3960
treec8a3bf40909382c9f49312717d7b4b06ed845172
parent829e5c3b9276a2369452a119faec234276b7ecbb
dir: convert struct sha1_stat to use object_id

Convert the declaration of struct sha1_stat. Adjust all usages of this
struct and replace hash{clr,cmp,cpy} with oid{clr,cmp,cpy} wherever
possible.  Rename it to struct oid_stat.

Rename static function load_sha1_stat to load_oid_stat.

Remove macro EMPTY_BLOB_SHA1_BIN, as it's no longer used.

Signed-off-by: Patryk Obara <patryk.obara@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
dir.c
dir.h
t/helper/test-dump-untracked-cache.c