X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/dcb16f0d11305b4d7cb6357c5c0e21ad67f69871..b431282c91deea24916578395d88084261410968:/ui-blob.c?ds=inline diff --git a/ui-blob.c b/ui-blob.c index 9c99519..c2de8d6 100644 --- a/ui-blob.c +++ b/ui-blob.c @@ -54,7 +54,7 @@ int cgit_ref_path_exists(const char *path, const char *ref, int file_only) if (get_sha1(ref, sha1)) return 0; - if (sha1_object_info(sha1, &size) != OBJ_COMMIT) + if (sha1_object_info(sha1, &size) != OBJ_COMMIT) return 0; read_tree_recursive(lookup_commit_reference(sha1)->tree, "", 0, 0, &paths, walk_tree, &walk_tree_ctx); return walk_tree_ctx.found_path;