]> gitweb.ps.run Git - ps-cgit/commit
cgit.c: Use "else" for mutually exclusive branches
authorLukas Fleischer <cgit@cryptocrack.de>
Fri, 10 Jan 2014 13:55:30 +0000 (14:55 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 10 Jan 2014 16:05:34 +0000 (17:05 +0100)
commit441e748564aff49932d02987cd2bdcfbb623c295
tree39a22d071da1af3d3621fe4d35d3492d68bc106c
parente711679618ce704633f09bc10d2fe85291054536
cgit.c: Use "else" for mutually exclusive branches

When parsing command line arguments, no pair of command line options can
ever match simultaneously. Use "else if" blocks to reflect this. This
change improves both readability and speed.

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