neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit 2a7dd4bf67edeff2c6c4f6d6d39d2d7f954d978a
parent c01fb69fc9f773718b8a147f0bc780f04ee9399c
Author: Lukas Fleischer <cgit@cryptocrack.de>
Date:   Wed, 15 Jan 2014 23:09:08 +0100

parsing.c: Remove leading space from committer

This did not really break anything in the past since spaces are ignored
when rendering HTML. Remove the preceding space anyway to prevent from
potential future problems.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>

Diffstat:
Mparsing.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parsing.c b/parsing.c @@ -156,7 +156,7 @@ struct commitinfo *cgit_parse_commit(struct commit *commit) } if (p && !prefixcmp(p, "committer ")) { - p = parse_user(p + 9, &ret->committer, &ret->committer_email, + p = parse_user(p + 10, &ret->committer, &ret->committer_email, &ret->committer_date); }