diff options
| author | Lars Hjemli <hjemli@gmail.com> | 2008-07-27 12:32:08 +0200 |
|---|---|---|
| committer | Lars Hjemli <hjemli@gmail.com> | 2008-07-27 12:32:08 +0200 |
| commit | 25c84326deff579d5de4b880f9dca2690bdc8569 (patch) | |
| tree | 9ca41073e0e06e6dc24f7800182bf4a7b22f548c /cgit.c | |
| parent | ui-shared: show repo owner along with description (diff) | |
| download | cgit-magenta-25c84326deff579d5de4b880f9dca2690bdc8569.tar.xz | |
Be prepared for empty repositories
Before this patch, cgit would segfault on repositories with no refs. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.c')
| -rw-r--r-- | cgit.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cgit.c b/cgit.c |
