X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=t%2Ft6003-rev-list-topo-order.sh;h=88d14ee1a3419f06c45a30e42a79934c4284c465;hb=680bab3d9a33029be38590681832ae9b6d74ad60;hp=a94dbd2031de884a080e1657473be3a8212f9682;hpb=f573571a218ddf0d48caaef33c8c7e4c59132b5f;p=git.git diff --git a/t/t6003-rev-list-topo-order.sh b/t/t6003-rev-list-topo-order.sh index a94dbd20..88d14ee1 100755 --- a/t/t6003-rev-list-topo-order.sh +++ b/t/t6003-rev-list-topo-order.sh @@ -6,7 +6,7 @@ test_description='Tests git-rev-list --topo-order functionality' . ./test-lib.sh -. ../t6000-lib.sh # t6xxx specific functions +. ../t6000lib.sh # t6xxx specific functions list_duplicates() { @@ -14,7 +14,7 @@ list_duplicates() } date >path0 -git-update-cache --add path0 +git-update-index --add path0 save_tag tree git-write-tree on_committer_date "1971-08-16 00:00:00" hide_error save_tag root unique_commit root tree on_committer_date "1971-08-16 00:00:01" save_tag l0 unique_commit l0 tree -p root @@ -79,15 +79,6 @@ save_tag g4 unique_commit g6 tree -p g3 -p h2 tag l5 > .git/HEAD -# -# cd to t/trash and use -# -# git-rev-list ... 2>&1 | sed "$(cat sed.script)" -# -# if you ever want to manually debug the operation of git-rev-list -# -echo "$sed_script" | tr ' ' \\012 > sed.script - test_expect_success 'rev-list has correct number of entries' 'git-rev-list HEAD | wc -l | tr -s " "' <