diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2019-02-19 03:04:58 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-01 05:57:37 +0300 |
commit | 3c7714485dc8adc810b6c52058992cfc767dfcb5 (patch) | |
tree | 9e8bb0e93cb9f17b208c58492438b155963b8024 /pack-bitmap.h | |
parent | 9941e920e0b5a79c5b7859cb59b9ab866a77b25f (diff) |
pack-bitmap: switch hash tables to use struct object_id
Instead of storing unsigned char pointers in the hash tables, switch to
storing instances of struct object_id. Update several internal functions
and one external function to take pointers to struct object_id.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-bitmap.h')
-rw-r--r-- | pack-bitmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pack-bitmap.h b/pack-bitmap.h index 344ba23af9..ee9792264c 100644 --- a/pack-bitmap.h +++ b/pack-bitmap.h @@ -59,7 +59,7 @@ void free_bitmap_index(struct bitmap_index *); * queried to see if a particular object was reachable from any of the * objects flagged as UNINTERESTING. */ -int bitmap_has_sha1_in_uninteresting(struct bitmap_index *, const unsigned char *sha1); +int bitmap_has_oid_in_uninteresting(struct bitmap_index *, const struct object_id *oid); void bitmap_writer_show_progress(int show); void bitmap_writer_set_checksum(unsigned char *sha1); |