git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/2] Add test case that shows --topo-order, --max-age break

From
Jon Seymour <jon.seymour@gmail.com>
Date
Jul 7, 2005, 02:38 UTC
Message-ID
<20050707023844.12919.qmail@blackcubes.dyndns.org>
Uncommented a test case that shows a --topo-order, --max-age break.
A subsequent patch witll fix this defect
Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
---
 t/t6003-rev-list-topo-order.sh |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
9b43fa5416abe653fd900abe491a38c5ec919758
diff --git a/t/t6003-rev-list-topo-order.sh b/t/t6003-rev-list-topo-order.sh
--- a/t/t6003-rev-list-topo-order.sh
+++ b/t/t6003-rev-list-topo-order.sh
@@ -289,16 +289,16 @@ EOF
 #
 # this test fails on --topo-order - a fix is required
 #
-#test_output_expect_success '--max-age=c3, --topo-order' "git-rev-list --topo-order --max-age=$(commit_date c3) l5" <<EOF
-#l5
-#l4
-#l3
-#a4
-#c3
-#b4
-#a3
-#a2
-#EOF
+test_output_expect_success '--max-age=c3, --topo-order' "git-rev-list --topo-order --max-age=$(commit_date c3) l5" <<EOF
+l5
+l4
+l3
+a4
+c3
+b4
+a3
+a2
+EOF
 
 test_output_expect_success 'one specified head reachable from another a4, c3, --topo-order' "list_duplicates git-rev-list --topo-order a4 c3" <<EOF
 EOF
------------
Message 1 of 1 in “Add test case that shows --topo-order, --max-age break”
  1. 1/2 Add test case that shows --topo-order, --max-age breakJon Seymour, Jul 7, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.