Diff options
Diffstat (limited to '')
-rw-r--r--source/cgit.c2
1 file changed, 1 insertion, 1 deletion
diff --git a/source/cgit.c b/source/cgit.c
index 2bb761d..a746a83 100644
--- a/source/cgit.c
+++ b/source/cgit.c
@@ -1006,7 +1006,7 @@ static void choose_readme(struct cgit_repo *repo)
continue;
}
if (ref) {
- if (cgit_ref_path_exists(filename, ref, 1)) {
+ if (cgit_ref_path_exists(filename, ref)) {
found = 1;
break;
}