completion: drop the hard coded list of config vars
[gitweb.git] / builtin / blame.c
index db38c0b307c5719ab3bd5e6b8597ec8810c0de3d..bfdf7cc1325826d6b7a41520b52a07f2fa1cb042 100644 (file)
@@ -655,7 +655,7 @@ static int is_a_rev(const char *name)
 
        if (get_oid(name, &oid))
                return 0;
-       return OBJ_NONE < oid_object_info(&oid, NULL);
+       return OBJ_NONE < oid_object_info(the_repository, &oid, NULL);
 }
 
 int cmd_blame(int argc, const char **argv, const char *prefix)