summaryrefslogtreecommitdiff
path: root/pack-bitmap.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2019-02-19 00:04:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-04-01 02:57:37 (GMT)
commit3c7714485dc8adc810b6c52058992cfc767dfcb5 (patch)
tree9e8bb0e93cb9f17b208c58492438b155963b8024 /pack-bitmap.h
parent9941e920e0b5a79c5b7859cb59b9ab866a77b25f (diff)
downloadgit-3c7714485dc8adc810b6c52058992cfc767dfcb5.zip
git-3c7714485dc8adc810b6c52058992cfc767dfcb5.tar.gz
git-3c7714485dc8adc810b6c52058992cfc767dfcb5.tar.bz2
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack-bitmap.h b/pack-bitmap.h
index 344ba23..ee97922 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);