Lars Hjemli 502d57596e ui-commit: handle root commits
Both cgit_print_diff() and cgit_diff_tree() handles root commits nicely,
but cgit_print_commit() forgot to check the case of 0 parents.

This fixes it, and adds tests to avoid future regressions.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2008-05-18 21:13:21 +02:00
..
2007-11-11 12:00:13 +01:00
2007-11-11 12:00:13 +01:00
2008-04-28 11:32:42 +02:00
2007-11-11 12:00:13 +01:00
2008-05-18 21:13:21 +02:00
2007-11-11 12:00:13 +01:00
2007-11-11 12:00:13 +01:00