Skip to content

Commit

Permalink
Quiet the output from git-init when cloning, if requested.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeffrey C. Ollie authored and Junio C Hamano committed Jun 28, 2007
1 parent 4576518 commit 279050d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 279050d

Please sign in to comment.