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>
Jeffrey C. Ollie committed
Jun 7, 2007 at 07:50 UTC
279050d04428e9adaa90aebe54a485a334102ab8
1 file changed
+1
-1
git-clone.sh
+1
-1
@@ -184,7 +184,7 @@ yes)
184
GIT_DIR="$D" ;;
185
*)
186
GIT_DIR="$D/.git" ;;
187
-esac && export GIT_DIR && git-init ${template+"$template"} || usage
187
+esac && export GIT_DIR && git-init $quiet ${template+"$template"} || usage
188
189
if test -n "$reference"
190
then