summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7b1d626)
raw | patch | inline | side by side (parent: 7b1d626)
author | Allan Caffee <allan.caffee@gmail.com> | |
Wed, 22 Apr 2009 19:52:13 +0000 (15:52 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 23 Apr 2009 00:48:42 +0000 (17:48 -0700) |
An extra space is being inserted between the "commit" column and all of
the successive edges. Remove this space. This regression was
introduced by 427fc5b.
Signed-off-by: Allan Caffee <allan.caffee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
the successive edges. Remove this space. This regression was
introduced by 427fc5b.
Signed-off-by: Allan Caffee <allan.caffee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
graph.c | patch | blob | history |
index d4571cf31db0ff759689d9c3fa4fa10551be52b7..31e09eb2c7953fdb1b8ff47db2145f72a248dcbe 100644 (file)
--- a/graph.c
+++ b/graph.c
if (col->commit == graph->commit) {
seen_this = 1;
strbuf_write_column(sb, col, '|');
- strbuf_addf(sb, " %*s", graph->expansion_row, "");
- chars_written += 2 + graph->expansion_row;
+ strbuf_addf(sb, "%*s", graph->expansion_row, "");
+ chars_written += 1 + graph->expansion_row;
} else if (seen_this && (graph->expansion_row == 0)) {
/*
* This is the first line of the pre-commit output.