{"thread":{"id":"1132","subject":"[PATCH 13/13] Fixes a problem with --merge-order A B (A is linear descendent of a merge B)","startedAt":"2005-07-06T16:39:35Z","lastAt":"2005-07-06T16:39:35Z","messageCount":1,"participants":["Jon Seymour"],"isPatch":true,"patchVersion":1,"patchTotal":13},"messages":[{"id":"5714","messageId":"20050706163935.10032.qmail@blackcubes.dyndns.org","threadId":"1132","inReplyTo":null,"subject":"[PATCH 13/13] Fixes a problem with --merge-order A B (A is linear descendent of a merge B)","fromName":"Jon Seymour","fromEmail":"jon.seymour@gmail.com","sentAt":"2005-07-06T16:39:35Z","receivedAt":"2005-07-06T16:39:35Z","isPatch":true,"sender":{"key":"jon.seymour@gmail.com","avatar":"https://avatars.githubusercontent.com/u/207131?v=4"},"body":"\nThis patch passes the test case introduced by the previous patch.\n\nSigned-off-by: Jon Seymour <jon.seymour@gmail.com>\n---\n\n epoch.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\n6f7f90901ec4aafd12ac4179110b78fc426395cd\ndiff --git a/epoch.c b/epoch.c\n--- a/epoch.c\n+++ b/epoch.c\n@@ -612,7 +612,7 @@ int sort_list_in_merge_order(struct comm\n \t\twhile (reversed) {\n \t\t\tstruct commit * next = pop_commit(&reversed);\n \n-\t\t\tif (!(next->object.flags & VISITED)) {\n+\t\t\tif (!(next->object.flags & VISITED) && next!=base) {\n \t\t\t\tsort_first_epoch(next, &stack);\n \t\t\t\tif (reversed) {\n \t\t\t\t\t/*\n------------\n"}]}