summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5290a0f)
raw | patch | inline | side by side (parent: 5290a0f)
author | Junio C Hamano <junkio@cox.net> | |
Wed, 25 Jan 2006 19:55:40 +0000 (11:55 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 28 Jan 2006 08:08:29 +0000 (00:08 -0800) |
Remove extra whitespace between the change indicators and the
body text. That is more in line with the uncombined unified
diff output (pointed out by Santi Bejar).
When showing --cc, say so instead of saying just --combined.
Signed-off-by: Junio C Hamano <junkio@cox.net>
body text. That is more in line with the uncombined unified
diff output (pointed out by Santi Bejar).
When showing --cc, say so instead of saying just --combined.
Signed-off-by: Junio C Hamano <junkio@cox.net>
combine-diff.c | patch | blob | history |
diff --git a/combine-diff.c b/combine-diff.c
index eb763e113b12fb10990ce1041d89870762ed520f..b0846bc09bd2dc2c63f7ec702ac021e192606d93 100644 (file)
--- a/combine-diff.c
+++ b/combine-diff.c
else
putchar(' ');
}
- putchar(' ');
puts(ll->line);
ll = ll->next;
}
else
putchar('+');
}
- printf(" %.*s\n", sl->len, sl->bol);
+ printf("%.*s\n", sl->len, sl->bol);
}
}
}
for (p = paths; p; p = p->next) {
if (!p->len)
continue;
- printf("diff --combined ");
+ printf("diff --%s ", dense ? "cc" : "combined");
if (quote_c_style(p->path, NULL, NULL, 0))
quote_c_style(p->path, NULL, stdout, 0);
else