summaryrefslogtreecommitdiff
path: root/graph.c
diff options
context:
space:
mode:
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>2020-04-27 14:22:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-04-27 18:21:25 (GMT)
commit9d2152d3db9aec03cb8ef055c6fdd065eabeb8dd (patch)
treecd71d004a88a55d03daa268816eb6bd793e25187 /graph.c
parent3bc1f9e48cb9640c901d19f193f4417ca805a86a (diff)
downloadgit-9d2152d3db9aec03cb8ef055c6fdd065eabeb8dd.zip
git-9d2152d3db9aec03cb8ef055c6fdd065eabeb8dd.tar.gz
git-9d2152d3db9aec03cb8ef055c6fdd065eabeb8dd.tar.bz2
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph.c b/graph.c
index 4fb25ad..4cd9915 100644
--- a/graph.c
+++ b/graph.c
@@ -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)
{