diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2020-04-27 16:22:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-27 20:21:25 +0200 |
commit | 9d2152d3db9aec03cb8ef055c6fdd065eabeb8dd (patch) | |
tree | cd71d004a88a55d03daa268816eb6bd793e25187 /graph.c | |
parent | compat/regex: move stdlib.h up in inclusion chain (diff) | |
download | git-9d2152d3db9aec03cb8ef055c6fdd065eabeb8dd.tar.xz git-9d2152d3db9aec03cb8ef055c6fdd065eabeb8dd.zip |
graph.c: limit linkage of internal variable
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Reviewed-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'graph.c')
-rw-r--r-- | graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1055,7 +1055,7 @@ static void graph_output_commit_line(struct git_graph *graph, struct graph_line graph_update_state(graph, GRAPH_COLLAPSING); } -const char merge_chars[] = {'/', '|', '\\'}; +static const char merge_chars[] = {'/', '|', '\\'}; static void graph_output_post_merge_line(struct git_graph *graph, struct graph_line *line) { |