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>
Lea Wiemann committed
Jun 26, 2008 at 20:35 UTC
4c7ba956a32d72bb1e6645e2e3adba92a9024708
1 file changed
+1
-1
t/test-lib.sh
+1
-1
@@ -407,7 +407,7 @@ test_create_repo () {
407
repo="$1"
408
mkdir "$repo"
409
cd "$repo" || error "Cannot setup test environment"
410
- "$GIT_EXEC_PATH/git" init "--template=$GIT_EXEC_PATH/templates/blt/" >/dev/null 2>&1 ||
410
+ "$GIT_EXEC_PATH/git" init "--template=$GIT_EXEC_PATH/templates/blt/" >&3 2>&4 ||
411
error "cannot run git init -- have you built things yet?"
412
mv .git/hooks .git/hooks-disabled
413
cd "$owd"