{"thread":{"id":"1155","subject":"[PATCH 2/2] Fix --topo-order, --max-age interaction issue","startedAt":"2005-07-07T02:38:47Z","lastAt":"2005-07-07T02:38:47Z","messageCount":1,"participants":["Jon Seymour"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"5750","messageId":"20050707023847.12938.qmail@blackcubes.dyndns.org","threadId":"1155","inReplyTo":null,"subject":"[PATCH 2/2] Fix --topo-order, --max-age interaction issue","fromName":"Jon Seymour","fromEmail":"jon.seymour@gmail.com","sentAt":"2005-07-07T02:38:47Z","receivedAt":"2005-07-07T02:38:47Z","isPatch":true,"sender":{"key":"jon.seymour@gmail.com","avatar":"https://avatars.githubusercontent.com/u/207131?v=4"},"body":"\nApplied the --merge-order, --max-age fix to fix\nthe --topo-order problem demonstrated by the test\ncase in the previous patch.\n\nSigned-off-by: Jon Seymour <jon.seymour@gmail.com>\n---\n\n rev-list.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\n8238686fd422959dae50a908b3761aa545be1c4f\ndiff --git a/rev-list.c b/rev-list.c\n--- a/rev-list.c\n+++ b/rev-list.c\n@@ -75,7 +75,7 @@ static int filter_commit(struct commit *\n \t\treturn CONTINUE;\n \tif (max_age != -1 && (commit->date < max_age)) {\n \t\tstop_traversal=1;\n-\t\treturn merge_order?CONTINUE:STOP;\n+\t\treturn (merge_order||topo_order)?CONTINUE:STOP;\n \t}\n \tif (max_count != -1 && !max_count--)\n \t\treturn STOP;\n------------\n"}]}