]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/branch.c
Convert find_unique_abbrev* to struct object_id
[thirdparty/git.git] / builtin / branch.c
index 8dcc2ed058be6e653f885e48c9aa5f465a5f9749..659deb36f372ef3608eb4fd426e2b954103b822e 100644 (file)
@@ -273,7 +273,7 @@ static int delete_branches(int argc, const char **argv, int force, int kinds,
                               bname.buf,
                               (flags & REF_ISBROKEN) ? "broken"
                               : (flags & REF_ISSYMREF) ? target
-                              : find_unique_abbrev(oid.hash, DEFAULT_ABBREV));
+                              : find_unique_abbrev(&oid, DEFAULT_ABBREV));
                }
                delete_branch_config(bname.buf);