Skip to content

Commit 279050d

Browse files
jcolliegitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4576518 commit 279050d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-clone.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ yes)
184184
GIT_DIR="$D" ;;
185185
*)
186186
GIT_DIR="$D/.git" ;;
187-
esac && export GIT_DIR && git-init ${template+"$template"} || usage
187+
esac && export GIT_DIR && git-init $quiet ${template+"$template"} || usage
188188

189189
if test -n "$reference"
190190
then

0 commit comments

Comments
 (0)