Diff options
Diffstat (limited to 'source')
| -rw-r--r-- | 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) { |
