diff options
author | Nicolas Pitre <nico@cam.org> | 2007-01-13 00:01:46 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-13 00:36:16 +0300 |
commit | 5c94f87e6b17cab5d3b87998d6c907745cb6f5a4 (patch) | |
tree | 814570782529656b1f5869525feadcc17996de9d /t/test-lib.sh | |
parent | 120b0dfbed148461c4e1349d12a1b7913545260e (diff) |
use 'init' instead of 'init-db' for shipped docs and tools
While 'init-db' still is and probably will always remain a valid git
command for obvious backward compatibility reasons, it would be a good
idea to move shipped tools and docs to using 'init' instead.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/test-lib.sh')
-rwxr-xr-x | t/test-lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 72ea2b2598..8e3ee6cd7b 100755 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -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" } |