mirror of
https://git.zx2c4.com/cgit
synced 2025-07-02 14:24:33 +02:00
Add ui-commit.c + misc ui cleanups
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
2101e26fd6
commit
9a8f88658d
9 changed files with 140 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue