Remove leading newline characters from tag messages
Fixes a regression introduced in commit 936295c
(Simplify commit and tag
parsing, 2015-03-03).
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Šī revīzija ir iekļauta:
vecāks
ecd6b7230c
revīzija
4d8ed337cb
@ -216,6 +216,9 @@ struct taginfo *cgit_parse_tag(struct tag *tag)
|
||||
}
|
||||
}
|
||||
|
||||
while (p && *p == '\n')
|
||||
p++;
|
||||
|
||||
if (p && *p)
|
||||
ret->msg = xstrdup(p);
|
||||
|
||||
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā
Block a user