From a3ef996f04db6a46e41575ca5a0442cdd709e485 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 4 Nov 2026 21:45:26 -1000 Subject: Answer an empty repository's feed with a feed --- source/ui-empty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/ui-empty.c') diff --git a/source/ui-empty.c b/source/ui-empty.c index 76b2697..0bebfec 100644 --- a/source/ui-empty.c +++ b/source/ui-empty.c @@ -3,7 +3,8 @@ * the clone urls someone needs in order to push the first commit. cgit.c * prints this in place of whatever page was asked for as soon as it finds * there is no branch to resolve, so none of the ref driven pages ever run - * against an empty repository. + * against an empty repository. The Atom feed is the exception, sent with no + * entries, since a feed reader cannot read this page. */ #include "cgit.h" -- cgit 2.12.1