git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Iustin Pop <iusty@k1024.org>
To: git@vger.kernel.org
Subject: Improve git pull --quiet behaviour
Date: Sun,  9 Mar 2008 00:52:34 +0100	[thread overview]
Message-ID: <1205020356-6682-1-git-send-email-iusty@k1024.org> (raw)

While trying to cleanup some cron jobs that do "git pull", I found out
that "-q" doesn't behave as expected. The following two small patches
improve the handling of this option.

My tests show that now 'git pull -q' when there are no changes is silent
as expected and plain 'git pull' has the previous behaviour. I hope that
I followed the code style correctly while modifying the files.

Overall diff stats:
 Documentation/git-merge.txt     |    2 +-
 Documentation/merge-options.txt |    4 ++++
 git-merge.sh                    |   19 +++++++++++++------
 git-pull.sh                     |    8 +++++---
 4 files changed, 23 insertions(+), 10 deletions(-)

regards,
iustin

             reply	other threads:[~2008-03-08 23:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-08 23:52 Iustin Pop [this message]
2008-03-08 23:52 ` [PATCH 1/2] Add a quiet option to git merge Iustin Pop
2008-03-09 12:18   ` [PATCH] " Iustin Pop
2008-03-08 23:52 ` [PATCH 2/2] Fix git pull handling of the quiet option Iustin Pop
2008-03-09  4:04   ` Junio C Hamano
2008-03-09 10:31     ` Iustin Pop
2008-03-09 22:31     ` [PATCH] " Iustin Pop

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=1205020356-6682-1-git-send-email-iusty@k1024.org \
    --to=iusty@k1024.org \
    --cc=git@vger.kernel.org \
    /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).