]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/test-lib.sh
use 'init' instead of 'init-db' for shipped docs and tools
[thirdparty/git.git] / t / test-lib.sh
index 72ea2b259875e209752022f63bd57f9ca83a0cc4..8e3ee6cd7b38e07d3fd39904066c8e64f1d3642f 100755 (executable)
@@ -220,8 +220,8 @@ test_create_repo () {
        repo="$1"
        mkdir "$repo"
        cd "$repo" || error "Cannot setup test environment"
-       "$GIT_EXEC_PATH/git" init-db --template=$GIT_EXEC_PATH/templates/blt/ >/dev/null 2>&1 ||
-       error "cannot run git init-db -- have you built things yet?"
+       "$GIT_EXEC_PATH/git" init --template=$GIT_EXEC_PATH/templates/blt/ >/dev/null 2>&1 ||
+       error "cannot run git init -- have you built things yet?"
        mv .git/hooks .git/hooks-disabled
        cd "$owd"
 }