sha1_file: convert check_sha1_signature to struct object_id
[gitweb.git] / builtin / blame.c
index 9dcb367b90d99fc9ebbbf878f53cd5b4651d7864..b980e8a1ddb5056dccf6d51cc33fc42026e3a517 100644 (file)
@@ -499,7 +499,7 @@ static int read_ancestry(const char *graft_file)
 
 static int update_auto_abbrev(int auto_abbrev, struct blame_origin *suspect)
 {
-       const char *uniq = find_unique_abbrev(suspect->commit->object.oid.hash,
+       const char *uniq = find_unique_abbrev(&suspect->commit->object.oid,
                                              auto_abbrev);
        int len = strlen(uniq);
        if (auto_abbrev < len)