]> asedeno.scripts.mit.edu Git - git.git/commitdiff
Quiet the output from git-init when cloning, if requested.
authorJeffrey C. Ollie <jeff@ocjtech.us>
Thu, 7 Jun 2007 12:50:30 +0000 (07:50 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Jun 2007 05:22:17 +0000 (22:22 -0700)
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>
git-clone.sh

index bd44ce1c84175e9cce97489a363fe340b74b7f23..dacaaa678fd5bd10f4a290fe496604b2c3c91dfc 100755 (executable)
@@ -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