aboutsummaryrefslogtreecommitdiff
path: root/git-clone.sh
diff options
context:
space:
mode:
authorJeffrey C. Ollie <jeff@ocjtech.us>2007-06-07 07:50:30 -0500
committerJunio C Hamano <gitster@pobox.com>2007-06-27 22:22:17 -0700
commit279050d04428e9adaa90aebe54a485a334102ab8 (patch)
tree89260775e43c0c1176ecf72eeaf403759daa229d /git-clone.sh
parent4576518dd7459f44583f33375dbd8799792fc1f3 (diff)
downloadgit-279050d04428e9adaa90aebe54a485a334102ab8.tar.gz
git-279050d04428e9adaa90aebe54a485a334102ab8.tar.xz
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>
Diffstat (limited to 'git-clone.sh')
-rwxr-xr-xgit-clone.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-clone.sh b/git-clone.sh
index bd44ce1c8..dacaaa678 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