threads / patch / 4680

patchdiff-tree: Use ---\n as a message separator

Subject: [PATCH] diff-tree: Use ---\n as a message separator

## tl;dr

One message between Jun 27, 2006 and Jun 27, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Timo Hirvonen· Jun 27, 2006, 12:39 UTC · lore
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
---
 builtin-diff-tree.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Show changes to builtin-diff-tree.c +1 −0
diff --git a/builtin-diff-tree.c b/builtin-diff-tree.c
index ae1cde9..1e66fca 100644
--- a/builtin-diff-tree.c
+++ b/builtin-diff-tree.c
@@ -72,6 +72,7 @@ int cmd_diff_tree(int argc, const char *
 	init_revisions(opt);
 	opt->abbrev = 0;
 	opt->diff = 1;
+	opt->diffopt.msg_sep = "---\n";
 	argc = setup_revisions(argc, argv, opt, NULL);
 
 	while (--argc > 0) {
-- 
1.4.1.rc1.g5576-dirty

← back to recent threads