threads / patch / 982

patch, 7 partsTweaked --merge-order --show-breaks output in case specified head has no parent

Subject: [PATCH 2/7] Tweaked --merge-order --show-breaks output in case specified head has no parent

## tl;dr

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

replies: 0people: 1as markdown or json

Jon Seymour· Jun 20, 2005, 02:29 UTC · lore
      git-rev-list --merge-order --show-breaks root
Was outputing:
| root
It now outputs:
= root
Which is consistent with the behaviour of other cases.
Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
---
 epoch.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Show changes to epoch.c +2 −0
diff --git a/epoch.c b/epoch.c
--- a/epoch.c
+++ b/epoch.c
@@ -536,6 +536,8 @@ static int sort_in_merge_order(struct co
 
 	ret = parse_commit(head_of_epoch);
 
+	next->object.flags |= BOUNDARY;
+
 	while (next && next->parents && !ret && (action != STOP)) {
 		struct commit *base = NULL;
 
------------

← back to recent threads