Re: Silent maintenance
- From
- Valeo de Vries <valeo@valeo.co.cc>
- Date
- Aug 14, 2010, 16:33 UTC
- Message-ID
- <AANLkTimZ4df7wVXSGdNm+vWgAuPVDcUupxEvn9FByx=P@mail.gmail.com>
- In-Reply-To
- <20100814131156.GA24769@nibiru.local>
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.
Valeo