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
parent
4576518dd7
commit
279050d044
|
@ -184,7 +184,7 @@ yes)
|
||||||
GIT_DIR="$D" ;;
|
GIT_DIR="$D" ;;
|
||||||
*)
|
*)
|
||||||
GIT_DIR="$D/.git" ;;
|
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"
|
if test -n "$reference"
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue