From 261bb0425aeb79693c179575a4c200c185767b1f Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 13:33:26 -0700 Subject: Cut two comments that repeat the header or a name --- source/shared.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/source/shared.c b/source/shared.c index a20773b..3c61828 100644 --- a/source/shared.c +++ b/source/shared.c @@ -14,7 +14,6 @@ #define MACRO_EXPANSION_BUFSIZE (1024 * 8) -// How much of a file is read to find its first line. #define MAX_FIRST_LINE_READ (1024 * 64) typedef struct { @@ -69,10 +68,9 @@ static struct refinfo *make_refinfo(const char *refname, const struct object_id } /* - * Whether a revision from the request may reach git. A hex object id or a name - * that could be a ref passes. Git's wider syntax is refused, since :/pattern - * and rev^{/pattern} walk the whole history for a match, and a leading dash - * reads as an option further down. + * Git's wider syntax is refused, since :/pattern and rev^{/pattern} walk the + * whole history for a match, and a leading dash reads as an option further + * down. */ int cgit_valid_rev(const char *rev) { -- cgit