From: Jeffrey C. Ollie Date: Thu, 7 Jun 2007 12:50:30 +0000 (-0500) Subject: Quiet the output from git-init when cloning, if requested. X-Git-Tag: v1.5.3-rc0~4^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/279050d04428e9adaa90aebe54a485a334102ab8 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 Signed-off-by: Junio C Hamano --- diff --git a/git-clone.sh b/git-clone.sh index bd44ce1c84..dacaaa678f 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -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