Unidiff1 files changed, 1 insertions, 0 deletions
|
diff --git a/ui-tree.c b/ui-tree.c index 7912784..9be3140 100644 --- a/ ui-tree.c+++ b/ ui-tree.c |
|
@@ -1,22 +1,23 @@ |
1 | /* ui-tree.c: functions for tree output |
1 | /* ui-tree.c: functions for tree output |
2 | * |
2 | * |
3 | * Copyright (C) 2006 Lars Hjemli |
3 | * Copyright (C) 2006 Lars Hjemli |
4 | * |
4 | * |
5 | * Licensed under GNU General Public License v2 |
5 | * Licensed under GNU General Public License v2 |
6 | * (see COPYING for full license text) |
6 | * (see COPYING for full license text) |
7 | */ |
7 | */ |
8 | |
8 | |
9 | #include "cgit.h" |
9 | #include "cgit.h" |
10 | #include "html.h" |
10 | #include "html.h" |
| |
11 | #include "ui-shared.h" |
11 | |
12 | |
12 | char *curr_rev; |
13 | char *curr_rev; |
13 | char *match_path; |
14 | char *match_path; |
14 | int header = 0; |
15 | int header = 0; |
15 | |
16 | |
16 | static void print_object(const unsigned char *sha1, char *path) |
17 | static void print_object(const unsigned char *sha1, char *path) |
17 | { |
18 | { |
18 | enum object_type type; |
19 | enum object_type type; |
19 | char *buf; |
20 | char *buf; |
20 | unsigned long size, lineno, start, idx; |
21 | unsigned long size, lineno, start, idx; |
21 | const char *linefmt = "<tr><td class='no'><a id='n%1$d' name='n%1$d' href='#n%1$d'>%1$d</a></td><td class='txt'>"; |
22 | const char *linefmt = "<tr><td class='no'><a id='n%1$d' name='n%1$d' href='#n%1$d'>%1$d</a></td><td class='txt'>"; |
22 | |
23 | |
|