-rw-r--r-- | parsing.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -202,2 +202,5 @@ struct commitinfo *cgit_parse_commit(struct commit *commit) + if (p == NULL) + return ret; + if (strncmp(p, "tree ", 5)) |
index : patchwork/cgit.git | ||
cgit - fast webinterface for git |
summaryrefslogtreecommitdiffabout |
-rw-r--r-- | parsing.c | 3 |
@@ -202,2 +202,5 @@ struct commitinfo *cgit_parse_commit(struct commit *commit) + if (p == NULL) + return ret; + if (strncmp(p, "tree ", 5)) |