summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6b209d4)
raw | patch | inline | side by side (parent: 6b209d4)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 11 Nov 2005 02:27:44 +0000 (18:27 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 11 Nov 2005 18:52:39 +0000 (10:52 -0800) |
Because a batch-oriented script creates many commits within a second
on a fast machine, show-branch output of the test results are unstable
without topo-order.
Signed-off-by: Junio C Hamano <junkio@cox.net>
on a fast machine, show-branch output of the test results are unstable
without topo-order.
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t1200-tutorial.sh | patch | blob | history |
diff --git a/t/t1200-tutorial.sh b/t/t1200-tutorial.sh
index 35db799edff628f4671815fec58f8176c2a7cd77..d7562e974877dca68fe3db5725aac70be1f474aa 100644 (file)
--- a/t/t1200-tutorial.sh
+++ b/t/t1200-tutorial.sh
++ [mybranch] Some work.
EOF
-git show-branch master mybranch > show-branch.output
+git show-branch --topo-order master mybranch > show-branch.output
test_expect_success 'git show-branch' 'cmp show-branch.expect show-branch.output'
git checkout mybranch
++ [master] Merged "mybranch" changes.
EOF
-git show-branch master mybranch > show-branch2.output
+git show-branch --topo-order master mybranch > show-branch2.output
test_expect_success 'git show-branch' 'cmp show-branch2.expect show-branch2.output'
# TODO: test git fetch