git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jeffrey C. Ollie" <jeff@ocjtech.us>
To: Junio C Hamano <junkio@cox.net>
Cc: Git Mailing List <git@vger.kernel.org>,
	"Jeffrey C. Ollie" <jeff@ocjtech.us>
Subject: [PATCH 2/2] Quiet the output from git-init when cloning, if requested.
Date: Thu,  7 Jun 2007 07:50:30 -0500	[thread overview]
Message-ID: <11812206302958-git-send-email-jeff@ocjtech.us> (raw)
In-Reply-To: <11812206303473-git-send-email-jeff@ocjtech.us>

From: Jeffrey C. Ollie <jeff@ocjtech.us>

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>
---
 git-clone.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-clone.sh b/git-clone.sh
index fdd354f..4cc09e3 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
-- 
1.5.2.GIT

      reply	other threads:[~2007-06-07 12:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07 12:50 [PATCH 1/2] Add an option to quiet git-init Jeffrey C. Ollie
2007-06-07 12:50 ` Jeffrey C. Ollie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11812206302958-git-send-email-jeff@ocjtech.us \
    --to=jeff@ocjtech.us \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).