Merge branch 'ot/libify-get-ref-atom-value'
[gitweb.git] / builtin / branch.c
index c21e5a04a0177373321d4a09755e0e0c1f4ebe76..efc9ac1922c8c45e13cddb82a342885153ae0fba 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);