1
2
3
4
5
6#include "util.h"
7
8enum {
9 S = GIT_SPACE,
10 A = GIT_ALPHA,
11 D = GIT_DIGIT,
12 G = GIT_GLOB_SPECIAL,
13 R = GIT_REGEX_SPECIAL,
14 P = GIT_PRINT_EXTRA,
15
16 PS = GIT_SPACE | GIT_PRINT_EXTRA,
17};
18
19unsigned char sane_ctype[256] = {
20
21
22 0, 0, 0, 0, 0, 0, 0, 0, 0, S, S, 0, 0, S, 0, 0,
23 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
24 PS,P, P, P, R, P, P, P, R, R, G, R, P, P, R, P,
25 D, D, D, D, D, D, D, D, D, D, P, P, P, P, P, G,
26 P, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
27 A, A, A, A, A, A, A, A, A, A, A, G, G, P, R, P,
28 P, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
29 A, A, A, A, A, A, A, A, A, A, A, R, R, P, P, 0,
30
31};
32
33const char *graph_line =
34 "_____________________________________________________________________"
35 "_____________________________________________________________________"
36 "_____________________________________________________________________";
37const char *graph_dotted_line =
38 "---------------------------------------------------------------------"
39 "---------------------------------------------------------------------"
40 "---------------------------------------------------------------------";
41const char *spaces =
42 " "
43 " "
44 " ";
45const char *dots =
46 "....................................................................."
47 "....................................................................."
48 ".....................................................................";
49