]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/rev-list.c
Convert find_unique_abbrev* to struct object_id
[thirdparty/git.git] / builtin / rev-list.c
index d320b6f1e3bcbcd429d5e2baa94b453035572db7..2fd72c0be5a643c98d97ff779e449541e48434cd 100644 (file)
@@ -108,7 +108,7 @@ static void show_commit(struct commit *commit, void *data)
        if (!revs->graph)
                fputs(get_revision_mark(revs, commit), stdout);
        if (revs->abbrev_commit && revs->abbrev)
-               fputs(find_unique_abbrev(commit->object.oid.hash, revs->abbrev),
+               fputs(find_unique_abbrev(&commit->object.oid, revs->abbrev),
                      stdout);
        else
                fputs(oid_to_hex(&commit->object.oid), stdout);