Browse Source

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>
maint
Jeffrey C. Ollie 18 years ago committed by Junio C Hamano
parent
commit
279050d044
  1. 2
      git-clone.sh

2
git-clone.sh

@ -184,7 +184,7 @@ yes) @@ -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

Loading…
Cancel
Save