]> gitweb.ps.run Git - ps-cgit/commit
Use split_ident_line() in parse_user()
authorLukas Fleischer <cgit@cryptocrack.de>
Wed, 24 Dec 2014 07:50:11 +0000 (08:50 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 24 Dec 2014 08:38:28 +0000 (01:38 -0700)
commit6f9e8a9659996281248c9002497148d489003bce
treeb295659449e6a29aff4b27eaf067006bbdbe4530
parent2159414a3945f059a7e52a4900ffcd1ca665e102
Use split_ident_line() in parse_user()

Use Git's built-in ident line splitting algorithm instead of
reimplementing it. This does not only simplify the code but also makes
sure that cgit is consistent with Git when it comes to author parsing.

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