Merge branch 'ab/grep-preparatory-cleanup'
[gitweb.git] / notes-cache.c
index 1cdd4984a4c53b86aad398a241f7a630b7758b36..2843e985760ae2b48f2f8103c573cee92fc1c350 100644 (file)
@@ -14,7 +14,7 @@ static int notes_cache_match_validity(const char *ref, const char *validity)
        if (read_ref(ref, oid.hash) < 0)
                return 0;
 
-       commit = lookup_commit_reference_gently(oid.hash, 1);
+       commit = lookup_commit_reference_gently(&oid, 1);
        if (!commit)
                return 0;