summaryrefslogtreecommitdiffstats
path: root/cache-tree.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2018-05-02 02:26:03 +0200
committerJunio C Hamano <gitster@pobox.com>2018-05-02 06:59:52 +0200
commit62ba93eaa9dfac60c17e362220b3f1dd183bf5ac (patch)
treeb2dd9aa4c7dcdeb3fdd896ecee2cf6f3b7bab05d /cache-tree.c
parentbuiltin/reset: convert use of EMPTY_TREE_SHA1_BIN (diff)
downloadgit-62ba93eaa9dfac60c17e362220b3f1dd183bf5ac.tar.xz
git-62ba93eaa9dfac60c17e362220b3f1dd183bf5ac.zip
sha1_file: convert cached object code to struct object_id
Convert the code that looks up cached objects to use struct object_id. Adjust the lookup for empty trees to use the_hash_algo. Note that we don't need to be concerned about the hard-coded object ID in the empty_tree object since we never use it. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions