Browse Source

test-lib.sh: show git init output when in verbose mode

Signed-off-by: Lea Wiemann <LeWiemann@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Lea Wiemann 17 years ago committed by Junio C Hamano
parent
commit
4c7ba956a3
  1. 2
      t/test-lib.sh

2
t/test-lib.sh

@ -407,7 +407,7 @@ test_create_repo () { @@ -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"

Loading…
Cancel
Save