diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-10-15 22:07:00 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-16 11:05:51 +0900 |
commit | 206649672e9cae1af7f1e23ea6648b39d73b71a4 (patch) | |
tree | 609f00a212363c2cb5b2bfb291aae4929a58a88c /builtin/rev-list.c | |
parent | 334dc52f49ee3e56a32142d3500fe93ef79aac67 (diff) | |
download | git-206649672e9cae1af7f1e23ea6648b39d73b71a4.tar.gz git-206649672e9cae1af7f1e23ea6648b39d73b71a4.tar.xz |
pack-bitmap: convert traverse_bitmap_commit_list to object_id
Convert traverse_bitmap_commit_list and the callbacks it takes to use a
pointer 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 'builtin/rev-list.c')
-rw-r--r-- | builtin/rev-list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/rev-list.c b/builtin/rev-list.c index c1c74d4a7..9bf8d5991 100644 --- a/builtin/rev-list.c +++ b/builtin/rev-list.c @@ -258,14 +258,14 @@ static int show_bisect_vars(struct rev_list_info *info, int reaches, int all) } static int show_object_fast( - const unsigned char *sha1, + const struct object_id *oid, enum object_type type, int exclude, uint32_t name_hash, struct packed_git *found_pack, off_t found_offset) { - fprintf(stdout, "%s\n", sha1_to_hex(sha1)); + fprintf(stdout, "%s\n", oid_to_hex(oid)); return 1; } |