coccinelle: apply object_id Coccinelle transformations
[gitweb.git] / bisect.c
index 6d93edbcb97382269bd310d38cacd95ce3619091..ff147589c7f4520f8f9f9a228fb4952d84da9693 100644 (file)
--- a/bisect.c
+++ b/bisect.c
@@ -754,7 +754,7 @@ static void handle_bad_merge_base(void)
 static void handle_skipped_merge_base(const unsigned char *mb)
 {
        char *mb_hex = sha1_to_hex(mb);
-       char *bad_hex = sha1_to_hex(current_bad_oid->hash);
+       char *bad_hex = oid_to_hex(current_bad_oid);
        char *good_hex = join_sha1_array_hex(&good_revs, ' ');
 
        warning("the merge base between %s and [%s] "