diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2021-04-26 01:02:58 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-27 16:31:39 +0900 |
commit | 72871b132c7c81d23aa9d4467013651c1c51bbc4 (patch) | |
tree | ac2f5583a4f8cacf9ff2877ca0e930f598cfb8ef /t/helper/test-index-version.c | |
parent | builtin/show-index: set the algorithm for object IDs (diff) | |
download | tgif-72871b132c7c81d23aa9d4467013651c1c51bbc4.tar.xz |
commit-graph: don't store file hashes as struct object_id
The idea behind struct object_id is that it is supposed to represent the
identifier of a standard Git object or a special pseudo-object like the
all-zeros object ID. In this case, we have file hashes, which, while
similar, are distinct from the identifiers of objects.
Switch these code paths to use an unsigned char array. This is both
more logically consistent and it means that we need not set the
algorithm identifier for the struct object_id.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-index-version.c')
0 files changed, 0 insertions, 0 deletions