aboutsummaryrefslogtreecommitdiff
path: root/graph.c
diff options
context:
space:
mode:
authorBo Yang <struggleyb.nku@gmail.com>2010-05-29 23:32:05 +0800
committerJunio C Hamano <gitster@pobox.com>2010-05-31 18:02:04 -0700
commit2efcc977646320123c0d461664d25c4c93aaa9ee (patch)
tree5dca4e1666384ccfc748784f4b6834289e44502e /graph.c
parent7be5761073fde260d3aca10883e8688bd30cbccf (diff)
downloadgit-2efcc977646320123c0d461664d25c4c93aaa9ee.tar.gz
git-2efcc977646320123c0d461664d25c4c93aaa9ee.tar.xz
Emit a whole line in one go
Since the graph prefix will be printed when calling emit_line, so the functions should be used to emit a complete line out once a time. No one should call emit_line to just output some strings instead of a complete line. Use a strbuf to compose the whole line, and then call emit_line to output it once. Signed-off-by: Bo Yang <struggleyb.nku@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'graph.c')
0 files changed, 0 insertions, 0 deletions