OSDN Git Service

test-lib.sh: show git init output when in verbose mode
authorLea Wiemann <lewiemann@gmail.com>
Thu, 26 Jun 2008 18:35:19 +0000 (20:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Jun 2008 01:28:55 +0000 (18:28 -0700)
Signed-off-by: Lea Wiemann <LeWiemann@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh

index 4010110..c0c5e0e 100644 (file)
@@ -407,7 +407,7 @@ test_create_repo () {
        repo="$1"
        mkdir "$repo"
        cd "$repo" || error "Cannot setup test environment"
-       "$GIT_EXEC_PATH/git" init "--template=$GIT_EXEC_PATH/templates/blt/" >/dev/null 2>&1 ||
+       "$GIT_EXEC_PATH/git" init "--template=$GIT_EXEC_PATH/templates/blt/" >&3 2>&4 ||
        error "cannot run git init -- have you built things yet?"
        mv .git/hooks .git/hooks-disabled
        cd "$owd"