]> git.cameronkatri.com Git - cgit.git/commit
Be prepared for empty repositories
authorLars Hjemli <hjemli@gmail.com>
Sun, 27 Jul 2008 10:32:08 +0000 (12:32 +0200)
committerLars Hjemli <hjemli@gmail.com>
Sun, 27 Jul 2008 10:32:08 +0000 (12:32 +0200)
commit25c84326deff579d5de4b880f9dca2690bdc8569
tree9ca41073e0e06e6dc24f7800182bf4a7b22f548c
parent2d6ee032d0c2f84ebcfaa12d3289e85cfab18fcd
Be prepared for empty repositories

Before this patch, cgit would segfault on repositories with no refs.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.c
ui-shared.c