Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sb/pack-protocol-doc-nak' into maint
[gitweb.git]
/
graph.h
diff --git
a/graph.h
b/graph.h
index 0be62bd8b1227a16b8e67f6309605d6f4a98c247..3f48c19b6208712233f80c1afae3783951e967a9 100644
(file)
--- a/
graph.h
+++ b/
graph.h
@@
-67,6
+67,11
@@
int graph_is_commit_finished(struct git_graph const *graph);
int graph_next_line(struct git_graph *graph, struct strbuf *sb);
+/*
+ * Return current width of the graph in on-screen characters.
+ */
+int graph_width(struct git_graph *graph);
+
/*
* graph_show_*: helper functions for printing to stdout
*/