]> gitweb.ps.run Git - ps-cgit/blobdiff - parsing.c
Allow relative paths for cgit_cache_root
[ps-cgit] / parsing.c
index 6cab0e94701fe12f8e0fd6e48d05004d761f113f..be471b5fd57ef6451fbab7ff0402df0fad47a844 100644 (file)
--- a/parsing.c
+++ b/parsing.c
@@ -150,6 +150,7 @@ struct commitinfo *cgit_parse_commit(struct commit *commit)
 
        t = strchr(p, '\n');
        ret->subject = substr(p, t);
+       p = t + 1;
 
        while (*p == '\n')
                p = strchr(p, '\n') + 1;