about summary refs log tree commit diff
path: root/third_party/cgit/ui-repolist.c
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-11-21T18·59+0100
committerVincent Ambo <mail@tazj.in>2020-11-21T19·09+0100
commit1e81ce6622ef790b297ff48f1d0286f51e225aee (patch)
tree152c022824a5cd4970bb41daa1fe94937b87a0e9 /third_party/cgit/ui-repolist.c
parentf4609b896fac842433bd495c166d5987852a6a73 (diff)
merge(3p/cgit): subtree merge at adcc4f82 r/1891
Change-Id: I16941629a17a2f39b9324cb85dc0cec6b104dfe4
Diffstat (limited to 'third_party/cgit/ui-repolist.c')
-rw-r--r--third_party/cgit/ui-repolist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/cgit/ui-repolist.c b/third_party/cgit/ui-repolist.c
index 7cf763891fcc..529a2038baa2 100644
--- a/third_party/cgit/ui-repolist.c
+++ b/third_party/cgit/ui-repolist.c
@@ -20,7 +20,7 @@ static time_t read_agefile(const char *path)
 
 	if (readfile(path, &buf, &size)) {
 		free(buf);
-		return -1;
+		return 0;
 	}
 
 	if (parse_date(buf, &date_buf) == 0)