aboutsummaryrefslogtreecommitdiffstats
path: root/parsing.c
diff options
context:
space:
mode:
Diffstat (limited to 'parsing.c')
-rw-r--r--parsing.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/parsing.c b/parsing.c
index 0db181b..dcaf2b3 100644
--- a/parsing.c
+++ b/parsing.c
@@ -216,6 +216,9 @@ struct taginfo *cgit_parse_tag(struct tag *tag)
216 } 216 }
217 } 217 }
218 218
219 while (p && *p == '\n')
220 p++;
221
219 if (p && *p) 222 if (p && *p)
220 ret->msg = xstrdup(p); 223 ret->msg = xstrdup(p);
221 224