Merge branch 'js/commit-graph-chunk-table-fix'
[gitweb.git] / connect.c
index 94547e5056b008d9cd9d00680a795d833e1f0528..24281b608284ee74b262237c467ff054874d8a8e 100644 (file)
--- a/connect.c
+++ b/connect.c
@@ -224,7 +224,7 @@ static int process_dummy_ref(const char *line)
                return 0;
        name++;
 
-       return !oidcmp(&null_oid, &oid) && !strcmp(name, "capabilities^{}");
+       return oideq(&null_oid, &oid) && !strcmp(name, "capabilities^{}");
 }
 
 static void check_no_capabilities(const char *line, int len)