From: Ævar Arnfjörð Bjarmason Date: Sat, 14 Aug 2010 16:41:11 GMT Subject: Re: Silent maintenance Message-ID: In-Reply-To: On Sat, Aug 14, 2010 at 16:33, Valeo de Vries wrote: > On 14 August 2010 14:11, Enrico Weigelt 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.