Quiet the output from git-init when cloning, if requested.

Now that git-init has an option to quiet itself, use it if the -q
option was specified on the clone command line.

Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jeffrey C. Ollie 2007-06-07 07:50:30 -05:00 committed by Junio C Hamano
parent 4576518dd7
commit 279050d044

View File

@ -184,7 +184,7 @@ yes)
GIT_DIR="$D" ;;
*)
GIT_DIR="$D/.git" ;;
esac && export GIT_DIR && git-init ${template+"$template"} || usage
esac && export GIT_DIR && git-init $quiet ${template+"$template"} || usage
if test -n "$reference"
then