From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: Valeo de Vries <valeo@valeo.co.cc>
Cc: weigelt <weigelt@metux.de>, git <git@vger.kernel.org>
Subject: Re: Silent maintenance
Date: Sat, 14 Aug 2010 16:41:11 +0000 [thread overview]
Message-ID: <AANLkTi=+veDhBEt-tK_qaXhvMVmRCZtW7+O6ig3ujASz@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimZ4df7wVXSGdNm+vWgAuPVDcUupxEvn9FByx=P@mail.gmail.com>
On Sat, Aug 14, 2010 at 16:33, Valeo de Vries <valeo@valeo.co.cc> wrote:
> On 14 August 2010 14:11, Enrico Weigelt <weigelt@metux.de> wrote:
>> Hi,
>>
>> are there some flags to make the maintenance commands like
>> git-repack and git-gc silent, so they only output errors ?
>
> Just redirect stdout to /dev/null and check git's return status, as Ęvar said.
It's better to not redirect anything, set a trap that checks if
anything exited with non-zero, and then look at all the output if
anything fails.
next prev parent reply other threads:[~2010-08-14 16:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-14 13:11 Silent maintenance Enrico Weigelt
2010-08-14 13:26 ` Ævar Arnfjörð Bjarmason
2010-08-14 16:33 ` Valeo de Vries
2010-08-14 16:41 ` Ævar Arnfjörð Bjarmason [this message]
2010-08-14 21:05 ` Jonathan Nieder
2010-08-14 21:41 ` Ævar Arnfjörð Bjarmason
2010-08-14 22:04 ` Jeff King
2010-08-15 0:21 ` Ævar Arnfjörð Bjarmason
2010-08-15 13:12 ` Enrico Weigelt
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=+veDhBEt-tK_qaXhvMVmRCZtW7+O6ig3ujASz@mail.gmail.com' \
--to=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=valeo@valeo.co.cc \
--cc=weigelt@metux.de \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).