X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft6004-rev-list-path-optim.sh;h=80d71988b8464b6abe2b13e3052b54a4bb84604f;hb=f124e986cf19e8f36895ae474d50f8d389e73d02;hp=761f09b1e537ebf9c24171c646e8578d99ce95fa;hpb=b8336519450fdedc8f9cafebc73f7a0226e34e1f;p=git.git diff --git a/t/t6004-rev-list-path-optim.sh b/t/t6004-rev-list-path-optim.sh index 761f09b1e..80d71988b 100755 --- a/t/t6004-rev-list-path-optim.sh +++ b/t/t6004-rev-list-path-optim.sh @@ -1,6 +1,6 @@ #!/bin/sh -test_description='git-rev-list trivial path optimization test' +test_description='git rev-list trivial path optimization test' . ./test-lib.sh @@ -12,9 +12,9 @@ initial=$(git rev-parse --verify HEAD) ' test_expect_success path-optimization ' - commit=$(echo "Unchanged tree" | git-commit-tree "HEAD^{tree}" -p HEAD) && - test $(git-rev-list $commit | wc -l) = 2 && - test $(git-rev-list $commit -- . | wc -l) = 1 + commit=$(echo "Unchanged tree" | git commit-tree "HEAD^{tree}" -p HEAD) && + test $(git rev-list $commit | wc -l) = 2 && + test $(git rev-list $commit -- . | wc -l) = 1 ' test_expect_success 'further setup' '