chiark / gitweb /
Don't use the dashed for of git commands
[stgit] / t / test-lib.sh
index 2d12f1b43627e6762027798856ca6bf6fdad0181..3d114a2da293be2fde1075e96cc79109cf9ed8f7 100644 (file)
@@ -226,12 +226,12 @@ test_create_repo () {
        repo="$1"
        mkdir "$repo"
        cd "$repo" || error "Cannot setup test environment"
-       git-init >/dev/null 2>&1 ||
-       error "cannot run git-init -- have you installed git-core?"
+       git init >/dev/null 2>&1 ||
+       error "cannot run git init -- have you installed git-core?"
        mkdir .git/info
        echo "empty start" |
-       git-commit-tree `git-write-tree` >.git/refs/heads/master 2>&4 ||
-       error "cannot run git-commit -- is your git-core functioning?"
+       git commit-tree `git write-tree` >.git/refs/heads/master 2>&4 ||
+       error "cannot run git commit -- is your git-core functioning?"
        cd "$owd"
 }